Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Forcing a workbook to open on a certain page

Hello everyone. I am creating workbooks that will have to be opened and
completed by a large number of people. The workbooks contain multiple
sheets. I would like the workbook to always open up on the first worksheet.

I understand that if I save it on the first sheet it will open on that sheet
when the person opens it. However, if they save it on a different sheet or
if they send it to someone else when they've saved it on a different sheet I
would like it to always open to the first one. Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Forcing a workbook to open on a certain page

hi
put this in the this workbook module.
Private Sub Workbook_Open()
Sheets("yoursheet").Activate
End Sub



"learningguru1978" wrote:

Hello everyone. I am creating workbooks that will have to be opened and
completed by a large number of people. The workbooks contain multiple
sheets. I would like the workbook to always open up on the first worksheet.

I understand that if I save it on the first sheet it will open on that sheet
when the person opens it. However, if they save it on a different sheet or
if they send it to someone else when they've saved it on a different sheet I
would like it to always open to the first one. Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Forcing a workbook to open on a certain page

Thank you FSt1. I'm sorry, but I am not sure what you mean by workbook
module. Can you please explain?

"FSt1" wrote:

hi
put this in the this workbook module.
Private Sub Workbook_Open()
Sheets("yoursheet").Activate
End Sub



"learningguru1978" wrote:

Hello everyone. I am creating workbooks that will have to be opened and
completed by a large number of people. The workbooks contain multiple
sheets. I would like the workbook to always open up on the first worksheet.

I understand that if I save it on the first sheet it will open on that sheet
when the person opens it. However, if they save it on a different sheet or
if they send it to someone else when they've saved it on a different sheet I
would like it to always open to the first one. Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Forcing a workbook to open on a certain page

Thanks FSt1. I am not sure what you mean by workbook module. Can you
explain that please?

"FSt1" wrote:

hi
put this in the this workbook module.
Private Sub Workbook_Open()
Sheets("yoursheet").Activate
End Sub



"learningguru1978" wrote:

Hello everyone. I am creating workbooks that will have to be opened and
completed by a large number of people. The workbooks contain multiple
sheets. I would like the workbook to always open up on the first worksheet.

I understand that if I save it on the first sheet it will open on that sheet
when the person opens it. However, if they save it on a different sheet or
if they send it to someone else when they've saved it on a different sheet I
would like it to always open to the first one. Thanks in advance

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Forcing a workbook to open on a certain page

hi
sorry.
press alt+F11. this will bring up the vb editor.
in the project window(far left), expand your project(file).
read down the tree and double click "thisworkbook"
in the code window(big white widow mid far right),chick the left drop down.
it should say (general). from the selection, choose "workbook"
this code should default it
Private Sub Workbook_Open()

End Sub
paste the single line of code i posted.
sheets("yoursheet").activate
substitute "yoursheet" for the sheet name you wish the file to open to.

done. save and close. open to test.
regards
FSt1

"learningguru1978" wrote:

Thank you FSt1. I'm sorry, but I am not sure what you mean by workbook
module. Can you please explain?

"FSt1" wrote:

hi
put this in the this workbook module.
Private Sub Workbook_Open()
Sheets("yoursheet").Activate
End Sub



"learningguru1978" wrote:

Hello everyone. I am creating workbooks that will have to be opened and
completed by a large number of people. The workbooks contain multiple
sheets. I would like the workbook to always open up on the first worksheet.

I understand that if I save it on the first sheet it will open on that sheet
when the person opens it. However, if they save it on a different sheet or
if they send it to someone else when they've saved it on a different sheet I
would like it to always open to the first one. Thanks in advance



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Forcing a workbook to open on a certain page

I got it to work! Thank you so much!!!

"FSt1" wrote:

hi
sorry.
press alt+F11. this will bring up the vb editor.
in the project window(far left), expand your project(file).
read down the tree and double click "thisworkbook"
in the code window(big white widow mid far right),chick the left drop down.
it should say (general). from the selection, choose "workbook"
this code should default it
Private Sub Workbook_Open()

End Sub
paste the single line of code i posted.
sheets("yoursheet").activate
substitute "yoursheet" for the sheet name you wish the file to open to.

done. save and close. open to test.
regards
FSt1

"learningguru1978" wrote:

Thank you FSt1. I'm sorry, but I am not sure what you mean by workbook
module. Can you please explain?

"FSt1" wrote:

hi
put this in the this workbook module.
Private Sub Workbook_Open()
Sheets("yoursheet").Activate
End Sub



"learningguru1978" wrote:

Hello everyone. I am creating workbooks that will have to be opened and
completed by a large number of people. The workbooks contain multiple
sheets. I would like the workbook to always open up on the first worksheet.

I understand that if I save it on the first sheet it will open on that sheet
when the person opens it. However, if they save it on a different sheet or
if they send it to someone else when they've saved it on a different sheet I
would like it to always open to the first one. Thanks in advance

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Forcing a workbook to open on a certain page

you are welcome.
regards
FSt1

"learningguru1978" wrote:

I got it to work! Thank you so much!!!

"FSt1" wrote:

hi
sorry.
press alt+F11. this will bring up the vb editor.
in the project window(far left), expand your project(file).
read down the tree and double click "thisworkbook"
in the code window(big white widow mid far right),chick the left drop down.
it should say (general). from the selection, choose "workbook"
this code should default it
Private Sub Workbook_Open()

End Sub
paste the single line of code i posted.
sheets("yoursheet").activate
substitute "yoursheet" for the sheet name you wish the file to open to.

done. save and close. open to test.
regards
FSt1

"learningguru1978" wrote:

Thank you FSt1. I'm sorry, but I am not sure what you mean by workbook
module. Can you please explain?

"FSt1" wrote:

hi
put this in the this workbook module.
Private Sub Workbook_Open()
Sheets("yoursheet").Activate
End Sub



"learningguru1978" wrote:

Hello everyone. I am creating workbooks that will have to be opened and
completed by a large number of people. The workbooks contain multiple
sheets. I would like the workbook to always open up on the first worksheet.

I understand that if I save it on the first sheet it will open on that sheet
when the person opens it. However, if they save it on a different sheet or
if they send it to someone else when they've saved it on a different sheet I
would like it to always open to the first one. Thanks 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
contact page to be the first page I see when I open outlook JLebron New Users to Excel 1 September 26th 06 07:39 AM
Open Workbook At A Set Page Brian Hearty via OfficeKB.com Excel Discussion (Misc queries) 5 November 1st 05 12:31 PM
when i open a excel doc , it open muiltple page not related? greyshark001 Excel Discussion (Misc queries) 1 October 18th 05 05:15 PM
Forcing Columns to Next Page [email protected] Excel Discussion (Misc queries) 1 July 12th 05 11:33 PM
Forcing page breaks Peter Cartwright Excel Discussion (Misc queries) 7 January 13th 05 03:03 AM


All times are GMT +1. The time now is 09:19 AM.

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"