Batch file to launch excel2000 ?

O

Otmar Richter

In XP v 5.1
is there a way to launch excel2000 from the command line
with two workbooks available?

I find nothing on Google.
I have tried:

"C:\Program Files\Microsoft Office\Office\EXCEL.EXE"
C:\folder\filename1.xls
C:\folder\filename2.xls

START "C:\Program Files\Microsoft Office\Office\EXCEL.EXE"
START C:\folder\filename1.xls
START C:\folder\filename2.xls

START "C:\Program Files\Microsoft Office\Office\EXCEL.EXE"
cd C:\folder\
START C:\folder\filename1.xls
START C:\folder\filename2.xls

etc.

Thank you,
Otmar
 
J

jaf

Hi Otmar,
All on one line with spaces as delimiter will work from a .bat file not VBA.
Although you may have to use 8.3 path and file names.

C:\Program Files\Microsoft Office\Office\EXCEL.EXE C:\folder\filename1.xls
C:\folder\filename2.xls

From START>Run the same as above will work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top