![]() |
![]() |
|
|||||||
| 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: Mar 2002
Posts: 3
|
I'm new to VBA, trying to learn more by converting old macro.
The function "=FORMULA.GOTO?()" in Excel XLM is same as the "Go To" command in Excel. It will open a dialog box with all range names created in the workbook. The user can scroll the up-down bar to select **ANY** range name to goto without typing the reference. The VBA command (Application.Goto Reference:=) only goto the specified range. What will be the equivalent function/command in VBA to give you the choice to goto without typing? Thanks to your help. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: New York
Posts: 71
|
Application.Goto Range("Whatever")
If you include ", True" at the end, it will bring the active cell to the upper left corner: Application.Goto Range("Whatever"), True |
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 3
|
Bob,
Thanks to your reply. The Application.Goto Range("Whatever") only goto the range name "Whatever" specified in this command line. I'm looking for a way to list all range names for user to select and goto. Please help again. |
|
|
|
|
|
#4 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi Jassy
Do you mean this: Sub GoWhere() Application.Dialogs(xlDialogFormulaGoto).Show End Sub |
|
|
|
|
|
#5 |
|
New Member
Join Date: Mar 2002
Posts: 3
|
Dave, Thanks to your help. This is what I'm looking for.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|