#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Saving a Worksheet

Not sure whether I have worded the the subject heading right or not but here
goes but if someone can point me in the right direction I would be very
grateful.

Here goes

I have a workbook with many many sheets but the "main" sheet has hyperlinks
to all the other sheets.

When I save data to, say for argument sake sheet 1 and then save and close
the workbook down, I would like it when opened up again, open "main" rather
than "sheet 1" the point of the last save.

can this be done? If so, how?

Cheers in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Saving a Worksheet

Private Sub Workbook_Open()
Worksheets("Main").Activate
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Sibbs" wrote in message
...
Not sure whether I have worded the the subject heading right or not but
here
goes but if someone can point me in the right direction I would be very
grateful.

Here goes

I have a workbook with many many sheets but the "main" sheet has
hyperlinks
to all the other sheets.

When I save data to, say for argument sake sheet 1 and then save and close
the workbook down, I would like it when opened up again, open "main"
rather
than "sheet 1" the point of the last save.

can this be done? If so, how?

Cheers in advance



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Saving a Worksheet

You need a little code in the workbook's _Open event processor:

Private Sub Workbook_Open()
ThisWorkbook.Worksheets("Main").Select
End Sub

To put the code in the proper place in your workbook, open that workbook and
right click on the Excel icon immediately to the left of the word File in the
menu toolbar and choose [View Code] from the popup list. Copy and paste the
code above into the code module. Save the workbook.

"Sibbs" wrote:

Not sure whether I have worded the the subject heading right or not but here
goes but if someone can point me in the right direction I would be very
grateful.

Here goes

I have a workbook with many many sheets but the "main" sheet has hyperlinks
to all the other sheets.

When I save data to, say for argument sake sheet 1 and then save and close
the workbook down, I would like it when opened up again, open "main" rather
than "sheet 1" the point of the last save.

can this be done? If so, how?

Cheers in advance

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Saving a Worksheet

Cheers guys, worked a treat. Thanks again

"JLatham" wrote:

You need a little code in the workbook's _Open event processor:

Private Sub Workbook_Open()
ThisWorkbook.Worksheets("Main").Select
End Sub

To put the code in the proper place in your workbook, open that workbook and
right click on the Excel icon immediately to the left of the word File in the
menu toolbar and choose [View Code] from the popup list. Copy and paste the
code above into the code module. Save the workbook.

"Sibbs" wrote:

Not sure whether I have worded the the subject heading right or not but here
goes but if someone can point me in the right direction I would be very
grateful.

Here goes

I have a workbook with many many sheets but the "main" sheet has hyperlinks
to all the other sheets.

When I save data to, say for argument sake sheet 1 and then save and close
the workbook down, I would like it when opened up again, open "main" rather
than "sheet 1" the point of the last save.

can this be done? If so, how?

Cheers in advance

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
Saving a worksheet JONESAROB Excel Discussion (Misc queries) 2 August 3rd 06 07:59 PM
Saving worksheet as webpage Aramis Excel Discussion (Misc queries) 1 January 9th 06 10:26 PM
Saving Worksheet Bobby28 Excel Discussion (Misc queries) 2 April 20th 05 09:55 PM
worksheet saving DYeomans Excel Discussion (Misc queries) 1 April 20th 05 08:04 AM
Saving a Worksheet GoBucks Excel Discussion (Misc queries) 3 January 27th 05 07:37 PM


All times are GMT +1. The time now is 04:32 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"