![]() |
![]() |
|
|||||||
| 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 |
|
New Member
Join Date: Feb 2002
Location: Netherlands
Posts: 3
|
Is there a macro I can use, that opens an excelsheet alway on the same sheet of a workbook.??
Second question: Is it possible to write a macro that lets you always move from cell to cell by useing tab Within a range for example Cell A1:D10. |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,510
|
The first one will take you to cell A10 if you put it on the This Workbook:
Sub Workbook_Open() Application.Goto Reference:="Sheet1!RC" End Sub Put this one on the worksheet. Sub GtRng() Range("A1:D10").Select End Sub Anytime you select a range, then do your entry, it will remain within your range, whether you hit enter or tab, until you click outside of that range.
__________________
~Anne Troy |
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
I'll leave the second question to someone else because I'm not entirely sure of my solution.
As to the first, you can use hyperlinks to goto a specific location in a workbook. Check out the Excel help on Hyperlinks to do this. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|