Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm not sure what you mean by sticking, but maybe...
Option Explicit Sub testme() Dim myRng As Range Set myRng = Nothing On Error Resume Next Set myRng = Application.InputBox(Prompt:="pick a range", Type:=8) On Error GoTo 0 If myRng Is Nothing Then 'do nothing Else Application.Goto myRng ', scroll:=true End If End Sub Or maybe... Application.Goto myRng.Parent.range("A1") ', scroll:=true RB Smissaert wrote: Is there a simple way to make a sheet change stick that was done while in the Application.InputBox dialog (with Type:=8)? I can do it by parsing out the sheet name from the resulting range and then activate that sheet, but I have a feeling that there might be a simpler way to do this. RBS -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Make pivotchart formatting stick after pivottable refresh. | Charts and Charting in Excel | |||
application.inputbox | Excel Programming | |||
Where to stick macro to change default comment font? | Excel Discussion (Misc queries) | |||
(Today) function can you make it stick | Excel Programming | |||
Inputbox and Application.InputBox | Excel Programming |