Create a .XLS with BAT

  • Thread starter Thread starter Tobias Frinndal
  • Start date Start date
T

Tobias Frinndal

I want to start Excel 2000 from a batch-file. There is no problems
to do that with an existing file (excel.exe FILENAME). But is there
a way to start Excel with an empty file with a filename of my choice?

/Tobias

Time is like a drug - to much of it will kill you
 
If you save an empty workbook somewhere you can copy it to the name you want
in a batch file and then open that from the Excel command line.

Copy c:\EmptyFile.xls c:\LoadDir\mybook.xls
Excel c:\LoadDir\mybook.xls
 

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

Back
Top