How to fill in "BLANK" Cells Automactically...Large Spread Sheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all,

I found that you can auto fill blank cells by going to EDIT/GOTO/SPECIAL,
etc...

but when I do this Excel reports the range is to large, I have 39,000 Rows
and approximately 37 Columns and I need a way to have all the "BLANK" cells
datafilled with the word NULL.

Is there a way or is Excel limited to a specific spreadsheet size?

....Mike
 
Enter this macro:

Sub Macro1()
Dim r As Range
For Each r In Selection
If IsEmpty(r) Then
r.Value = "NULL"
End If
Next
End Sub

Select the cells you want to change and run the macro.
 
Maybe you could do it in smaller chunks.

specialcells has a problem when you get over 8192 separate areas in it (IIRC).
 
I was able to break the 39,000 rows into a more specific criteria of 2000 -
then the EDIT/GOTO function worked perfectly...

Thanks...

....Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top