Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run a MSDos Command from Excel
I have created a very simple DIR batch file that list files in a given
folder w/subfolders to a TXT file. This I'd like to run by clicking a object (menu button). Like if one where toassign a Macto to a image. The path to the Batch file is looooong and there are looong folder names.. Any ideas, tips or comments?? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run a MSDos Command from Excel
Shell("path") is the VBA command to run an external program.
"FrodeOlsen" wrote: I have created a very simple DIR batch file that list files in a given folder w/subfolders to a TXT file. This I'd like to run by clicking a object (menu button). Like if one where toassign a Macto to a image. The path to the Batch file is looooong and there are looong folder names.. Any ideas, tips or comments?? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
command code ( GOTO command) in formula | New Users to Excel | |||
Pivot Table Error Message - "Command Text not set for command obje | Excel Discussion (Misc queries) | |||
Excel to load COMMAND and type a Run Command? | Excel Programming | |||
Excel has a "Find Next" command but no "Find Previous" command. | Excel Discussion (Misc queries) | |||
starting a msdos exe from excel | Excel Programming |