View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default Excel Start-up parms

You can't pass custom command line parameters to Excel. The
closest you can come is to create a put the code you want to
execute in the Workbook_Open event procedure in the ThisWorkbook
code module. This procedure will be executed when the workbook
is opened.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"MrT" wrote in message
oups.com...
Does anyone know how to execute Excel and send it a value...
then use
the value in a VBA macro in Excel? This would be something like
a "run"
command with parms.