Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Find returns a Range object, so you need to use the Set
statement. You might try declaring it first also. its usually better to do early binding. Dim Result as Range Sheets("Sheet1").Select Range("A1").Select Set Result = Cells.Find("12345") -----Original Message----- Hi all... why would this fail? Sheets("Sheet1").Select Range("A1").Select Result = Cells.Find("12345") '<-error Runtime Error 91: Object variable or With block variable not set. Many thanks! Mike . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
In Excel program shows a broken line and don't know how to get ri. | Excel Discussion (Misc queries) | |||
Program line when charting variances? | Charts and Charting in Excel | |||
Is there a program in office to create a line graph? | Excel Discussion (Misc queries) | |||
starting an external program with a command line | Excel Programming | |||
starting an external program with a command line | Excel Programming |