Guys, How do I pass a parameter into Excel from the command line:
Something like
or
where 99 is the parameter which is passed to the open sub?
Obviously I want to do more with the parameter. For now just to get it working in a msgbox is fine.
I found this on a search
MrExcelLink
But the answer suggested an input box. I need an automated facility as the run will be 12 iterations through the file, from a fixed parameter file.
Thanks
Excel 2003
Windows XP Professional
Something like
Code:
start excel test.xls(Workbook_Open(99))
or
Code:
start excel test.xls(99)
where 99 is the parameter which is passed to the open sub?
Code:
Private Sub Workbook_Open(comm as String)
MsgBox comm
End Sub
Obviously I want to do more with the parameter. For now just to get it working in a msgbox is fine.
I found this on a search
MrExcelLink
But the answer suggested an input box. I need an automated facility as the run will be 12 iterations through the file, from a fixed parameter file.
Thanks
Excel 2003
Windows XP Professional