Call a batch file from an Excel Macro
Sub Macro1()
x = Shell("cmd.exe /c C:\Userguide.bat", 1) End Sub -- Gary's Student "Alex Horan" wrote: I would like a macro I have created in Excel to run a batch file. Is this possible? What would the command be in the macro to do this? Thanks for any help. |
All times are GMT +1. The time now is 09:20 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com