Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 422
Default How to start Excel on a specific Worksheet.

Use the Workbook.Open event in the Object Module ThisWorkbook

Private Sub Workbook_Open()
Sheets("MyWorksheetName").Activate
End Sub


"Don J" wrote in message
:

I always want Excel to start on a specific Worksheet whenever I open a
particular Workbook. How can I do that?

Don J

-----------------------------------------------------


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default How to start Excel on a specific Worksheet.

I don't know how to do this. What is the 'Workbook.Open' event? Also where
is the 'Object Module', and what is 'ThisWorkbook'?

Don J

------------------------------------------------------------------------------
"JMay" wrote in message
...
Use the Workbook.Open event in the Object Module ThisWorkbook

Private Sub Workbook_Open()
Sheets("MyWorksheetName").Activate
End Sub


"Don J" wrote in message
:

I always want Excel to start on a specific Worksheet whenever I open a
particular Workbook. How can I do that?

Don J

-----------------------------------------------------




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How to start Excel on a specific Worksheet.

Don

With your workbook open, right-click on the Excel logo left of "File" if your
window is maximized or on the title bar Excel logo if not maximized.

Select "View Code" and Thisworkbook module will open.

Paste JMay's code into that module............make sure to substitute your real
worksheet name instead of "MyWorksheetName". The double quotes must be used.

Close that window. Save your workbook and close it.

Each time you open it, it will open to the worksheet you have named no matter
where you were when you last saved/closed.


Gord Dibben MS Excel MVP

On Tue, 20 Feb 2007 20:47:15 -0500, "Don J" wrote:

I don't know how to do this. What is the 'Workbook.Open' event? Also where
is the 'Object Module', and what is 'ThisWorkbook'?

Don J

------------------------------------------------------------------------------
"JMay" wrote in message
...
Use the Workbook.Open event in the Object Module ThisWorkbook

Private Sub Workbook_Open()
Sheets("MyWorksheetName").Activate
End Sub


"Don J" wrote in message
:

I always want Excel to start on a specific Worksheet whenever I open a
particular Workbook. How can I do that?

Don J

-----------------------------------------------------




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default How to start Excel on a specific Worksheet.

When I load the Workbook I get a "Microsoft Excel" error that says:

"Macros are disabled because the security level is set to high and a
digitally signed Trusted Certificate is not attached to the macros. To run
the macros, change the security level to a lower setting (not recommended),
or request the macros be signed by the author using a certificate issued by
a Certificate Authority."

Sounds like setting the security level lower would be the easiest thing to
do. How do I do it?

Don J

------------------------------------------------------------------------------

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Don

With your workbook open, right-click on the Excel logo left of "File" if
your
window is maximized or on the title bar Excel logo if not maximized.

Select "View Code" and Thisworkbook module will open.

Paste JMay's code into that module............make sure to substitute your
real
worksheet name instead of "MyWorksheetName". The double quotes must be
used.

Close that window. Save your workbook and close it.

Each time you open it, it will open to the worksheet you have named no
matter
where you were when you last saved/closed.


Gord Dibben MS Excel MVP

On Tue, 20 Feb 2007 20:47:15 -0500, "Don J" wrote:

I don't know how to do this. What is the 'Workbook.Open' event? Also
where
is the 'Object Module', and what is 'ThisWorkbook'?

Don J

------------------------------------------------------------------------------
"JMay" wrote in message
...
Use the Workbook.Open event in the Object Module ThisWorkbook

Private Sub Workbook_Open()
Sheets("MyWorksheetName").Activate
End Sub


"Don J" wrote in message
:

I always want Excel to start on a specific Worksheet whenever I open a
particular Workbook. How can I do that?

Don J

-----------------------------------------------------





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to start Excel on a specific Worksheet.

Tools|Macro|Security|Security level tab

Change to Medium (to be prompted each time you open a workbook with macros)
change to low (to avoid the prompt, MS recommends against this)

And then close your workbook and reopen it.

Don J wrote:

When I load the Workbook I get a "Microsoft Excel" error that says:

"Macros are disabled because the security level is set to high and a
digitally signed Trusted Certificate is not attached to the macros. To run
the macros, change the security level to a lower setting (not recommended),
or request the macros be signed by the author using a certificate issued by
a Certificate Authority."

Sounds like setting the security level lower would be the easiest thing to
do. How do I do it?

Don J

------------------------------------------------------------------------------

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Don

With your workbook open, right-click on the Excel logo left of "File" if
your
window is maximized or on the title bar Excel logo if not maximized.

Select "View Code" and Thisworkbook module will open.

Paste JMay's code into that module............make sure to substitute your
real
worksheet name instead of "MyWorksheetName". The double quotes must be
used.

Close that window. Save your workbook and close it.

Each time you open it, it will open to the worksheet you have named no
matter
where you were when you last saved/closed.


Gord Dibben MS Excel MVP

On Tue, 20 Feb 2007 20:47:15 -0500, "Don J" wrote:

I don't know how to do this. What is the 'Workbook.Open' event? Also
where
is the 'Object Module', and what is 'ThisWorkbook'?

Don J

------------------------------------------------------------------------------
"JMay" wrote in message
...
Use the Workbook.Open event in the Object Module ThisWorkbook

Private Sub Workbook_Open()
Sheets("MyWorksheetName").Activate
End Sub


"Don J" wrote in message
:

I always want Excel to start on a specific Worksheet whenever I open a
particular Workbook. How can I do that?

Don J

-----------------------------------------------------




--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default How to start Excel on a specific Worksheet.

Thank you "J May", "Gord Dibben" and "Dave Peterson". You have all
contributed to my being able to successfully open a Workbook to a specific
Worksheet. Thank you again!

Don J

--------------------------------------------------------------------------------



"Dave Peterson" wrote in message
...
Tools|Macro|Security|Security level tab

Change to Medium (to be prompted each time you open a workbook with
macros)
change to low (to avoid the prompt, MS recommends against this)

And then close your workbook and reopen it.

Don J wrote:

When I load the Workbook I get a "Microsoft Excel" error that says:

"Macros are disabled because the security level is set to high and a
digitally signed Trusted Certificate is not attached to the macros. To
run
the macros, change the security level to a lower setting (not
recommended),
or request the macros be signed by the author using a certificate issued
by
a Certificate Authority."

Sounds like setting the security level lower would be the easiest thing
to
do. How do I do it?

Don J

------------------------------------------------------------------------------

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Don

With your workbook open, right-click on the Excel logo left of "File"
if
your
window is maximized or on the title bar Excel logo if not maximized.

Select "View Code" and Thisworkbook module will open.

Paste JMay's code into that module............make sure to substitute
your
real
worksheet name instead of "MyWorksheetName". The double quotes must be
used.

Close that window. Save your workbook and close it.

Each time you open it, it will open to the worksheet you have named no
matter
where you were when you last saved/closed.


Gord Dibben MS Excel MVP

On Tue, 20 Feb 2007 20:47:15 -0500, "Don J"
wrote:

I don't know how to do this. What is the 'Workbook.Open' event? Also
where
is the 'Object Module', and what is 'ThisWorkbook'?

Don J

------------------------------------------------------------------------------
"JMay" wrote in message
...
Use the Workbook.Open event in the Object Module ThisWorkbook

Private Sub Workbook_Open()
Sheets("MyWorksheetName").Activate
End Sub


"Don J" wrote in message
:

I always want Excel to start on a specific Worksheet whenever I open
a
particular Workbook. How can I do that?

Don J

-----------------------------------------------------




--

Dave Peterson



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
Format page number in excel footer to start at a specific page # straitctrydncr Excel Discussion (Misc queries) 4 April 28th 23 07:45 PM
Is there a way to open an excel file to a specific worksheet? Nicholas Excel Discussion (Misc queries) 1 December 5th 06 10:29 PM
Worksheet that appears on start of Excel Lou Excel Discussion (Misc queries) 1 April 11th 06 08:08 PM
check if the text string start with a specific character September21 New Users to Excel 5 September 22nd 05 03:07 PM
Hyperlink to specific worksheet in Excel Glenn Mulno Links and Linking in Excel 2 February 7th 05 06:01 PM


All times are GMT +1. The time now is 03:47 PM.

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

About Us

"It's about Microsoft Excel"