Find blank cells replace with text value

mikeonwow

New Member
Joined
Nov 13, 2017
Messages
10
I have searched the forum and have been unable to find the answer. I have a cell that is used for data validation and as I build the sheet I am finding that a good portion of the cells are blank which is what the validation is supposed to prevent.

To build the spreadsheet I would like to go through the column and any cell that is blank insert the word "Override" in it so I can come back when the appropriate value is available and insert it.

Help please...
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi, welcome to the board.
Try this
Code:
Sub blnks()
Columns("[COLOR=#ff0000]O[/COLOR]").SpecialCells(xlBlanks).Value = "Overide"
End Sub
Change the column letter in red to suit
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,838
Members
449,471
Latest member
lachbee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top