![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Tulsa, OK
Posts: 354
|
I have a workbook with a few sheets.
I want the workbook upon opening the file to go to a particular sheet and a particular cell on that sheet. Sheet name = "Search" Cell = A2 How do I do this with with an Excel Event? |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
1. Open the VBE (ALT+F11)
2. Double click on "ThisWorkbook" 3. In the edit window, click on the drop down on the left hand side and select "Workbook". (The code for the Workbook Open Event will appear) Stick in this code:
HTH |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Tulsa, OK
Posts: 354
|
Thanks!! Works great!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|