visual basic cmd

The solution for “visual basic cmd” can be found here. The following code will assist you in solving the problem.

‘ For VBA / VB / Visual Basic only

‘EXAMPLE
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)

‘SYNTAX
= “
‘ 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