Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() I kept getting the following error message when I ran my macro to find a string in a worksheet range: Run-time error '9': Subscript out of range The debugger point the error to the following line of code: Set foundPilot = Worksheets("Pilot Costs").Range("A1:B100").Find(What:="Pilot Total", LookIn:=x1Values) Tried different strings to find and changed the range but kept getting the same error. Error msg seems to indicate I have an array subscripting problem but I am not using arrays in the code. Help! ![]() -- vbarookie ------------------------------------------------------------------------ vbarookie's Profile: http://www.excelforum.com/member.php...o&userid=31789 View this thread: http://www.excelforum.com/showthread...hreadid=524195 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find and Replace | Excel Worksheet Functions | |||
Code needed to find records from bottom up | Excel Discussion (Misc queries) | |||
find a cells from a range of cell | Excel Worksheet Functions | |||
How do I find a column entry closest to a particular value | Excel Worksheet Functions | |||
Excel has a "Find Next" command but no "Find Previous" command. | Excel Discussion (Misc queries) |