ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   worksheet (https://www.excelbanter.com/excel-discussion-misc-queries/150617-worksheet.html)

kyoshirou

worksheet
 
Hi All,
I have created some worksheet tab inside my file.
Let say the first worksheet is called Main, followed by worksheet called
two, three, four.

Is it possible to allow users to refer to worksheet Main whenever the file
is opened? As far as i know, whenever differ users open the file and using
diff tab like two, three or four when save it, the next user when open will
see that last previous worksheet. Therefore, i would like all my users to see
Main no matters the last user has saved on which worksheet.

thanks!

FSt1

worksheet
 
hi
open the vb editor(Alt+F11)
In the project window(far left) expand your project(file)
double click This Workbook
above the code window(far right) click the drop down that says general and
click this workbook.
with will appear in the code window.
Private Sub Workbook_Open()

End Sub
past this code between private sub and end sub
Sheets("Main").activate
should look like this
Private Sub Workbook_Open()
Sheets("Main").activate
End Sub

close vb editor and save file. then each time the file is opened, regardless
of which sheet was last use, excel will always go to sheet main.

regards
FSt1

"kyoshirou" wrote:

Hi All,
I have created some worksheet tab inside my file.
Let say the first worksheet is called Main, followed by worksheet called
two, three, four.

Is it possible to allow users to refer to worksheet Main whenever the file
is opened? As far as i know, whenever differ users open the file and using
diff tab like two, three or four when save it, the next user when open will
see that last previous worksheet. Therefore, i would like all my users to see
Main no matters the last user has saved on which worksheet.

thanks!


kyoshirou

worksheet
 
Thanks!

"FSt1" wrote:

hi
open the vb editor(Alt+F11)
In the project window(far left) expand your project(file)
double click This Workbook
above the code window(far right) click the drop down that says general and
click this workbook.
with will appear in the code window.
Private Sub Workbook_Open()

End Sub
past this code between private sub and end sub
Sheets("Main").activate
should look like this
Private Sub Workbook_Open()
Sheets("Main").activate
End Sub

close vb editor and save file. then each time the file is opened, regardless
of which sheet was last use, excel will always go to sheet main.

regards
FSt1

"kyoshirou" wrote:

Hi All,
I have created some worksheet tab inside my file.
Let say the first worksheet is called Main, followed by worksheet called
two, three, four.

Is it possible to allow users to refer to worksheet Main whenever the file
is opened? As far as i know, whenever differ users open the file and using
diff tab like two, three or four when save it, the next user when open will
see that last previous worksheet. Therefore, i would like all my users to see
Main no matters the last user has saved on which worksheet.

thanks!



All times are GMT +1. The time now is 06:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com