Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi List,
Is that possible to run an Excel macro through a batch file? If yes, can I pass value to run a macro? For example, if i need to let the macro work on centern files, can i pass the file name when calling the macro from the batch file? Like C:\testmacro.xls FileOne.xls Thanks for any help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can schedule an Excel macro to run at a pre-defined time if that is any
good. You cannot run an Excel macro outside of Excel. -- HTH RP (remove nothere from the email address if mailing direct) "LJi" wrote in message ups.com... Hi List, Is that possible to run an Excel macro through a batch file? If yes, can I pass value to run a macro? For example, if i need to let the macro work on centern files, can i pass the file name when calling the macro from the batch file? Like C:\testmacro.xls FileOne.xls Thanks for any help. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
User already has a batch file which contains different command lines to
run different programs. they want to add this macro into it. I may need to rewrite the macro using VB. Thanks for your reply. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If it is a .bat file, would it be okay just to shell it?
-- HTH RP (remove nothere from the email address if mailing direct) "LJi" wrote in message oups.com... User already has a batch file which contains different command lines to run different programs. they want to add this macro into it. I may need to rewrite the macro using VB. Thanks for your reply. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Batch file initiation from Excel macro? | Excel Discussion (Misc queries) | |||
Call a batch file from an Excel Macro | Excel Discussion (Misc queries) | |||
Call a batch file from an Excel Macro | Excel Discussion (Misc queries) | |||
Batch file to start multiple excel files with auto_open() macro. Delay code needed | Excel Programming | |||
Run Excel Macro in a Batch File | Excel Programming |