Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have designed a spreadsheet with 24 worksheets. I am trying to design a macro that will search for a specific date that is embedded inside one of my worksheets within the workbook. When I run the script below, the Cells.Find command stalls the macro. Specifically I get the following error --- Runtime error €˜91: Object variable or with block not set. How do you suggest I fix this? Sub test() Worksheets("LeaveRecord").Activate ActiveSheet.Next.Select Cells.Find(What:="11/11/2007").Activate End Sub Thanks in advance for your help, Ellen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I handle error conditions with the FIND command? | Excel Worksheet Functions | |||
Listing of cell references from a FIND All command. | Excel Discussion (Misc queries) | |||
Runtime 91 error due to cells.find statement !??! | Excel Programming | |||
Excel has a "Find Next" command but no "Find Previous" command. | Excel Discussion (Misc queries) | |||
Runtime error 9 in "How to find a date in a range with VBA ?" | Excel Programming |