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
 
Back
Top