View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Susan Susan is offline
external usenet poster
 
Posts: 1,117
Default command line options/switches to print excel file

since nobody else has replied..................
the command to print in excel is

xxxxxx.printout

but i don't know if it will work from outside excel, as in, what path
you need to specify.
hope this helps.
susan


On Mar 16, 6:02*am, Stranger wrote:
I need command line options/switches to print the excel file on
printer. Like

C:\ excel.exe C:\abc.xls /print

or

C:\ excel.exe -print C:\abc.xls

I'm able to print DOC, PPT file but I could not do it. Can anyone tell
me any command.

for Doc file it is

C:\Program Files\Microsoft Office\Office\WINWORD.EXE" testdocfile.doc /
q /n /mFilePrintDefault /mFileExit

Can anyone tell me a similar command for excel too.

Thanks in advance