• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Searching all blank row and convert them (-) with multiple data in Excel

You can try this VBA code

[pre]
Code:
Sub Replace_Blanks()
Dim c As Range
For Each c In Selection
If c.Value = "" Then c.Value = "-"
Next
End Sub
[/pre]

Then select the range you want to check

Run the code
 
Hi Parbati,

select the range you want to check


press Alt + E + G + S + K, **(goto Special - Blanks) / Home >Editing > Find & Select > GotoSpecial > Blanks)

Now just write "-" and press Ctlr + Enter..


Its Done..
 
Back
Top