vb run command

The solution for “vb run command” can be found here. The following code will assist you in solving the problem.

‘ For VBA / VB / Visual Basic only

sCommandToRun = “copy “”InitialName.xls”” “”NewName.txt”” ”
‘NOTE: The “” above is the equivalent of ” in the command prompt
Call Shell(“cmd.exe /S /C” & sCommandToRun, vbHide)

= “
‘ Call Shell(“cmd.exe /S /C” & , vbHide)

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts