View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mark mark is offline
external usenet poster
 
Posts: 196
Default Excel filename command line parameter to VB

I'd like to execute a macro in Excel automatically using a
VB .exe file. I can do that, but would like to have the
VB file be generic so that it can just receive the
specific Excel file's name as a command line parameter.

Can someone show me how to receive that, in VB? An
example of which portion of the code starts to use it? I
don't think I'm wording this well... sorry.