Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi All
I am running some code that clears all the errors (#DIV/0!) in certain columns. The code I am using is shown below: Columns("AQ:BC").Select Selection.SpecialCells(xlCellTypeFormulas, 16).Select Selection.ClearContents The data in columns AQ:BC are dependent on source data from elsewhere. If I do have errors the code works fine. However when there are no errors I get a runtime error 1004 - no cells found. From reading around i guess I need to have an error handler. Can somebody please help? Thanks Rup |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error handling problem | Excel Discussion (Misc queries) | |||
Handling #NUM! error | Excel Worksheet Functions | |||
Error handling in macro | Excel Discussion (Misc queries) | |||
Error handling in a search | Excel Discussion (Misc queries) | |||
Error Handling for "my" menu bar | Excel Discussion (Misc queries) |