Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a set of data in column H and most of the cells has the error value "#N/A". I want to replace the error value from "#N/A" to "-"(Dash). Following is the code but I am getting a error (Type Mismatch) while running the code. Range("H5").Select Do Until ActiveCell.Value = "" If ActiveCell.Value = "#N/A" Then ActiveCell.Value = "-" Selection.Offset(1, 0).Select End If Selection.Offset(1, 0).Select Loop Can someone suggest me the code which can replace the error values. Regards Heera Chavan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error with copying values in cells | Excel Discussion (Misc queries) | |||
cells without values causing error message | Excel Discussion (Misc queries) | |||
Hiding error values in cells | Excel Worksheet Functions | |||
Macro to replace error values | Excel Programming | |||
Removing already used values | Excel Programming |