Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default call excel 2003 macro from command line

How do you call an excel macro from a command line.
For this instance I cannot use the AUTO_OPEN Macro and I
need a way to open the excel workbook from windows
scheduler and have the macro PERSONAL.XLR!testformat
execute.
I found out that in access you can use the /X (macro name)
option but that does not work in excel
Any help would be greatly appreciated.

Thanks in advance.
Keven


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default call excel 2003 macro from command line

Can you add a reference to the PERSONAL.XLR workbook in the
workbook you want to open, then, in the Workbook_Open
procedure, add a call to testformat

Kevin Beckham

-----Original Message-----
How do you call an excel macro from a command line.
For this instance I cannot use the AUTO_OPEN Macro and I
need a way to open the excel workbook from windows
scheduler and have the macro PERSONAL.XLR!testformat
execute.
I found out that in access you can use the /X (macro

name)
option but that does not work in excel
Any help would be greatly appreciated.

Thanks in advance.
Keven


.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line conversion from xls to xml - office 2003 Vineet Excel Discussion (Misc queries) 0 June 15th 09 03:22 PM
how do you assign a macro to a command button in Excel 2003 ns Excel Discussion (Misc queries) 5 October 25th 07 08:58 PM
Run Macro from Command line Phil Smith Excel Discussion (Misc queries) 1 July 21st 07 06:35 PM
How do I assign a macro to a command button in excel, office 2003 jp3 Excel Discussion (Misc queries) 4 May 10th 07 12:56 PM
Excel macro on a DOS command line Richard[_13_] Excel Programming 3 July 18th 03 03:35 AM


All times are GMT +1. The time now is 01:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"