View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default Command line to open a specific worksheet

Not really. You can use a macro called Auto_Open that would select the
sheet,

Sub Auto_Open()
Worksheets("Sheet3").Select
End Sub

But that means that Sheet3 will always be the active sheet when the file is
opened. You can't supply a value from the command line.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)


"vIQleS" wrote in message
...
Is there a way to open a specific worksheet from the command line?