ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   opening on same sheet (https://www.excelbanter.com/excel-programming/298465-opening-same-sheet.html)

Tony

opening on same sheet
 
When I open my excel program if i have been I want it to
always open in the same worksheet i am using
Private Sub Workbook_Open()
Worksheets("names").Show
End Sub
it is telleing me i have the wrong code. What am i
missing?

Frank Kabel

opening on same sheet
 
Hi
try
Private Sub Workbook_Open()
Worksheets("names").activate
End Sub

--
Regards
Frank Kabel
Frankfurt, Germany


Tony wrote:
When I open my excel program if i have been I want it to
always open in the same worksheet i am using
Private Sub Workbook_Open()
Worksheets("names").Show
End Sub
it is telleing me i have the wrong code. What am i
missing?



All times are GMT +1. The time now is 08:59 AM.

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