How about a .vbs file?
Save this text file as somename.VBS
Dim XLApp
Dim XLWkb
Set XLApp = CreateObject("Excel.Application")
xlapp.visible = true
xlapp.workbooks.add
xlapp.workbooks.open "c:\yourpathto\yourfile.xls"
xlapp.run "yourfile.xls!macronamehere"
Change the path and filename to what you need.
When you double click on this .vbs file, excel will start, the file will open
and your macro will execute.
tristanm81 wrote:
I know absolutely nothing about writing batch files...
Is it possible to write a simple one that opens a workbook, and then
runs a specific macro ? If so , what would it look like?
thanks,
TNM
--
tristanm81
------------------------------------------------------------------------
tristanm81's Profile: http://www.excelforum.com/member.php...o&userid=22702
View this thread: http://www.excelforum.com/showthread...hreadid=214801
--
Dave Peterson