To fix a sheet in MS Office to be opened first always |
|
Author |
Message |
hernia

|
Posted: Mon Jan 16 18:20:26 CST 2006 |
Top |
worksheet functions >> To fix a sheet in MS Office to be opened first always
I'd like to know if it is possibe to fix a certain sheet to be opened always
on top, I mean I have (hyper)linked a worksheet with other sheets and
workbook, so when I close this book and click open again no matter which ever
sheet was open, but it should always open a certain sheet of the book I would
want to.
Excel411
|
|
|
|
 |
Norman

|
Posted: Mon Jan 16 18:20:26 CST 2006 |
Top |
worksheet functions >> To fix a sheet in MS Office to be opened first always
Hi Shariq,
Try:
'=============>>
Private Sub Workbook_Open()
Me.Sheets("Sheet1").Activate
End Sub
'<<=============
Change Sheet1 to the sheet of interest.
This is workbook event code and should be pasted into the workbook's
ThisWorkbook module *not* a standard module or a sheet module):
Right-click the Excel icon on the worksheet
(or the icon to the left of the File menu if your workbook is maximised)
Select 'View Code' from the menu and paste the code.
Alt-F11 to return to Excel.
If you are not familiar with macros, you may wish to visit David McRitchie's
'Getting Started With Macros And User Defined Functions' at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
---
Regards,
Norman
> I'd like to know if it is possibe to fix a certain sheet to be opened
> always
> on top, I mean I have (hyper)linked a worksheet with other sheets and
> workbook, so when I close this book and click open again no matter which
> ever
> sheet was open, but it should always open a certain sheet of the book I
> would
> want to.
|
|
|
|
 |
Shariq

|
Posted: Tue Jan 17 05:13:03 CST 2006 |
Top |
worksheet functions >> To fix a sheet in MS Office to be opened first always
Hi Norman,
Thanx 4 looking 2 my query, I M not sure if I've got my question right,
well, here it is again I'm working with several books each book containing
several sheets linked with each other, but certain book which is sort of a
main board or a menu has also some other sheets, I know if I only leave one
sheet in this book it will automatically open this only sheet, but what do I
have to do in order to make it work, that whenever I open this book it should
always show that sheet having hyperlinks to other books and sheets,
I'd appreciate a lot if you could help me out with this, and shell be
waiting for your response.
Regards Shariq,
> Hi Shariq,
>
> Try:
> '=============>>
> Private Sub Workbook_Open()
> Me.Sheets("Sheet1").Activate
> End Sub
> '<<=============
>
> Change Sheet1 to the sheet of interest.
>
> This is workbook event code and should be pasted into the workbook's
> ThisWorkbook module *not* a standard module or a sheet module):
>
> Right-click the Excel icon on the worksheet
> (or the icon to the left of the File menu if your workbook is maximised)
> Select 'View Code' from the menu and paste the code.
> Alt-F11 to return to Excel.
>
> If you are not familiar with macros, you may wish to visit David McRitchie's
> 'Getting Started With Macros And User Defined Functions' at:
>
> http://www.mvps.org/dmcritchie/excel/getstarted.htm
>
>
> ---
> Regards,
> Norman
>
>
> > I'd like to know if it is possibe to fix a certain sheet to be opened
> > always
> > on top, I mean I have (hyper)linked a worksheet with other sheets and
> > workbook, so when I close this book and click open again no matter which
> > ever
> > sheet was open, but it should always open a certain sheet of the book I
> > would
> > want to.
>
>
>
|
|
|
|
 |
Norman

|
Posted: Tue Jan 17 05:59:42 CST 2006 |
Top |
worksheet functions >> To fix a sheet in MS Office to be opened first always
Hi Shariq,
My original suggestion stands.
Follow the previous instructions and paste the suggested code into the
ThisWorkbook module of the menu workbook. Then save and re-open the
workbook.
---
Regards,
Norman
> Hi Norman,
>
> Thanx 4 looking 2 my query, I M not sure if I've got my question right,
> well, here it is again I'm working with several books each book containing
> several sheets linked with each other, but certain book which is sort of a
> main board or a menu has also some other sheets, I know if I only leave
> one
> sheet in this book it will automatically open this only sheet, but what do
> I
> have to do in order to make it work, that whenever I open this book it
> should
> always show that sheet having hyperlinks to other books and sheets,
>
> I'd appreciate a lot if you could help me out with this, and shell be
> waiting for your response.
>
> Regards Shariq,
>
>
>
>> Hi Shariq,
>>
>> Try:
>> '=============>>
>> Private Sub Workbook_Open()
>> Me.Sheets("Sheet1").Activate
>> End Sub
>> '<<=============
>>
>> Change Sheet1 to the sheet of interest.
>>
>> This is workbook event code and should be pasted into the workbook's
>> ThisWorkbook module *not* a standard module or a sheet module):
>>
>> Right-click the Excel icon on the worksheet
>> (or the icon to the left of the File menu if your workbook is maximised)
>> Select 'View Code' from the menu and paste the code.
>> Alt-F11 to return to Excel.
>>
>> If you are not familiar with macros, you may wish to visit David
>> McRitchie's
>> 'Getting Started With Macros And User Defined Functions' at:
>>
>> http://www.mvps.org/dmcritchie/excel/getstarted.htm
>>
>>
>> ---
>> Regards,
>> Norman
>>
>>
>> > I'd like to know if it is possibe to fix a certain sheet to be opened
>> > always
>> > on top, I mean I have (hyper)linked a worksheet with other sheets and
>> > workbook, so when I close this book and click open again no matter
>> > which
>> > ever
>> > sheet was open, but it should always open a certain sheet of the book I
>> > would
>> > want to.
>>
>>
>>
|
|
|
|
 |
|
|