LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Running Excel macros through DOS

Guess I haven't started it from a command prompt lately. works OK in
windows 9x as I recall.

C:\"C:\Program Files\Microsoft Office\OFFICE11\Excel.exe"

did work in Windows XP. Obviously the correct path would need to be used.

Thanks for the correction.

--
Regards,
Tom Ogilvy



"Harlan Grove" wrote in message
oups.com...
Tom Ogilvy wrote...
c:\Excel.exe <cr


This is likely to produce the error message

'Excel.exe' is not recognized as an internal or external command,
operable program or batch file.

since the typical Office install doesn't put the Office program
directory in either the system or installing user's PATH. OTOH,

C:\ start excel

does work even when the Office program directory isn't in PATH - it
seems that start looks in the Registry to locate registered GUI
programs.



 
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
running excel 2003 macros Terese Excel Discussion (Misc queries) 0 January 25th 08 10:32 PM
Running Macros in Excel 2003 mickey Excel Worksheet Functions 3 May 7th 07 10:42 AM
Running macros on ALL Excel tabs tbong Excel Worksheet Functions 1 June 7th 06 08:52 PM
excel macros running slow with XP Helen@bgs Excel Programming 0 February 9th 05 01:57 PM
Running Macros in Access from Excel Simon Dowse Excel Programming 1 June 7th 04 03:48 PM


All times are GMT +1. The time now is 05:38 PM.

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"