VBA调用cmd命令

OptionExplicit'CMD命令调用PrivateSubCommandButton1_Click()DimWshShellAsObjectSetWshShell=CreateObject("WScript.Shell")'WshShell.Run"Notepad"'WshShell.Run"Explorer"WshShell.Run

你可能感兴趣的:(VBA)