Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
not too sure why the attached doesn't work.
It seems like the error generated by the vlookup isn't covered by "On Error" - the error is 1004 '==================================== For Each cell In .Range("T9:T369").Cells On Error GoTo found_It: myRoom = WorksheetFunction.VLookup(cell.Value, ThisWorkbook.Range("myRange"), 1, False) .Range("T" & cell.Row & ":DZ" & cell.Row).ClearContents found_It: Next cell '==================================== any one got any ideas? Regards, Jason Quirk |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Worksheet Functions | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Discussion (Misc queries) | |||
Error problem | Excel Programming | |||
Problem with #VALUE/0! error | Excel Worksheet Functions | |||
Unknown where is the problem on the Runtime error - Automation error | Excel Programming |