Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that compares two sets of data. Sometimes there isn't data and
so there is a #DIV/0! symbol. How do i go through the cells and delete all of these? Thanks in advance |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this for column A
With Columns("A:A") On Error Resume Next .SpecialCells(xlCellTypeFormulas, 16).ClearContents On Error GoTo 0 End With -- Regards Ron de Bruin http://www.rondebruin.nl "MSHO" wrote in message ... I have a macro that compares two sets of data. Sometimes there isn't data and so there is a #DIV/0! symbol. How do i go through the cells and delete all of these? Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting code from a macro (by a macro) | Excel Discussion (Misc queries) | |||
MACRO HELP - deleting rows containing a range of blank cells | Excel Discussion (Misc queries) | |||
deleting unused cells / getting rid of inactive cells | Excel Discussion (Misc queries) | |||
Macro For Deleting Cells Containing A Number | Excel Programming | |||
Deleting Hyphens or Dashes from multiple cells without deleting the remaining content | Excel Programming |