Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Im doing something wrong in Visual basic for sure
Hi
I have a workbook called timesheet i want the first sheet to automaticly open whenever i open my workbook the 1st sheet is called names these are the steps that im using but its not working Visual basic editor___ view__ code__past code wich is ( Private Sub Workbook_Open() timesheet.Sheets("names").Select End Sub)____ alt+q___ i press on another sheet___ save___ close___ Whenever i reopen it the first sheet does not shows always the last sheet opened is displayed Please help |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Im doing something wrong in Visual basic for sure
The right syntax:
Sheets("names").Select or Thisworkbook.Sheets("names").Select Regards, Stefi €žTia€ť ezt Ă*rta: Hi I have a workbook called timesheet i want the first sheet to automaticly open whenever i open my workbook the 1st sheet is called names these are the steps that im using but its not working Visual basic editor___ view__ code__past code wich is ( Private Sub Workbook_Open() timesheet.Sheets("names").Select End Sub)____ alt+q___ i press on another sheet___ save___ close___ Whenever i reopen it the first sheet does not shows always the last sheet opened is displayed Please help |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Im doing something wrong in Visual basic for sure
On Jul 2, 11:36*am, Stefi wrote:
The right syntax: Sheets("names").Select or Thisworkbook.Sheets("names").Select Regards, Stefi „Tia” ezt írta: Hi I have a workbook called timesheet i want the first sheet to automaticly open whenever i open my workbook the 1st sheet is called names these are the steps that im using but its not working Visual basic editor___ view__ code__past code wich is ( Private Sub Workbook_Open() timesheet.Sheets("names").Select End Sub)____ alt+q___ i press on another sheet___ save___ close___ Whenever i reopen it the first sheet does not shows always the last sheet opened is displayed Please help- Hide quoted text - - Show quoted text - Its not working Is there is anything i have to do in the excel options ? or those are the steps b its not working at all same steps with the syntax given by you but its not working :s is there is any demo for visual basic editor ? |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Im doing something wrong in Visual basic for sure
It also needs to go into the ThisWorkbook code module.
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 in there. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Tia" wrote in message ... On Jul 2, 11:36 am, Stefi wrote: The right syntax: Sheets("names").Select or Thisworkbook.Sheets("names").Select Regards, Stefi „Tia” ezt írta: Hi I have a workbook called timesheet i want the first sheet to automaticly open whenever i open my workbook the 1st sheet is called names these are the steps that im using but its not working Visual basic editor___ view__ code__past code wich is ( Private Sub Workbook_Open() timesheet.Sheets("names").Select End Sub)____ alt+q___ i press on another sheet___ save___ close___ Whenever i reopen it the first sheet does not shows always the last sheet opened is displayed Please help- Hide quoted text - - Show quoted text - Its not working Is there is anything i have to do in the excel options ? or those are the steps b its not working at all same steps with the syntax given by you but its not working :s is there is any demo for visual basic editor ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
In visual basic | Excel Worksheet Functions | |||
Visual Basic | Excel Discussion (Misc queries) | |||
Visual Basic | Excel Discussion (Misc queries) | |||
visual basic | Excel Worksheet Functions | |||
changing the visual basic in office 2003 to visual studio net | Excel Discussion (Misc queries) |