LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Running Macros from Command line


Is there any way to run a macro from the command line while opening
excel?
ie: c:\xxxxxxxx.xls "macroname"
?

if not, basically I am trying to write a program that reads all of the
files in a directory, and for all of the excel files, it opens them,
runs a specific macro on them, and then saves and closes them.

Does anyone have any ideas?


--
DrukeEr
------------------------------------------------------------------------
DrukeEr's Profile: http://www.excelforum.com/member.php...o&userid=25575
View this thread: http://www.excelforum.com/showthread...hreadid=390020

 
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
macros from command line Cyberwolf Excel Discussion (Misc queries) 3 July 19th 05 05:35 PM
Running a macro from a command line Kelly Excel Programming 4 November 30th 04 08:17 PM
Running a macro from the command line Czech Excel Programming 1 October 28th 04 09:51 PM
Running Multiple Modules With 1 Command Gary Excel Programming 2 January 31st 04 10:07 PM
command line excel to run macros Anthony Ryan Excel Programming 0 August 10th 03 02:06 PM


All times are GMT +1. The time now is 06:35 AM.

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

About Us

"It's about Microsoft Excel"