Complete list of Excel Command line switches/parameters

  • Thread starter Thread starter NHRunner
  • Start date Start date
N

NHRunner

I would have thought a simple Google search would have located a Complete
list of Excel Command line switches/parameters.

All I can seem to find is a short Microsoft list that contain only minimal
stuff for opening excel itself.

What I need is a list of how to call excel and open a particular file and
pass macro names and parameters with data content.

I had such a thing but lost it.
 
AFAIK, Excel does not support specifying a macro to run, unlike Word
apparently.
This works in a short cut, so imagine it's similar in Shell
"C:\Program Files\Microsoft Office\Office\EXCEL.EXE"
"C:\PathToFile\Book1.xls"
Any WB_Open code will run upon opening.

You other alternative is use Automation, then you can do pretty much
anything. Command lines are not relevant in this situation.

NickHK
 

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