Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Command line to open a specific worksheet

Is there a way to open a specific worksheet from the command line?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Command line to open a specific worksheet

Ok - thanks

"Chip Pearson" wrote:

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?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
When I open a an existing excel worksheet, it duplicates itself a. Gotoperson Excel Discussion (Misc queries) 4 July 16th 06 11:35 AM
Calling a specific worksheet from a hyperlink in a seperate file. TheChris Excel Worksheet Functions 0 February 2nd 06 01:48 AM
Always open a worksheet at A1 Nimbus55 Excel Discussion (Misc queries) 2 August 25th 05 04:01 PM
Hyperlink to specific worksheet in Excel Glenn Mulno Links and Linking in Excel 2 February 7th 05 06:01 PM
How to open a workbook with a specific worksheet displayed by defa ThaiNB New Users to Excel 2 January 21st 05 06:11 AM


All times are GMT +1. The time now is 04:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"