Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that defines a range name as follows:
Set rngCopyTo = Application.InputBox( _ prompt:="Select the UPPER LEFT CELL of the " _ & "range to which you wish to paste", _ Title:="Copy Range Formulae", Type:=8).Cells(1, 1) I do not know in advance the worksheet that will ultimately contain the range for "rngCopyTo". Later in the macro, I want to goto "rngCopyTo". I have tried the following, but I get an error message unless the selected worksheet contains the range for "rngCopyTo". Is there a VBA code that will find and select the worksheet that contains "rngCopyTo"? rngCopyTo.Select Thank you for any help. -- needVBAhelp |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Application-defined or object-defined error (worksheet, range, sel | Excel Programming | |||
Copying A Range of Cells From one Sheet to Another - Error Application Defined or Object Defined | Excel Programming | |||
Find defined Name in List, then Goto | Excel Programming | |||
Using a data validation list to look up a defined named range in another worksheet | Charts and Charting in Excel | |||
Range - Application Defined or Object Defined Error | Excel Programming |