empty cell find and put in 0

  • Thread starter Thread starter Steved
  • Start date Start date
S

Steved

Hello from Steved

I have a spreadsheet A1:T10919
Question if a cell is empty how do I write a formula that
will search for a blank cell and put in 0
TIA
 
Hello James Thankyou it works like a treat
Cheers
-----Original Message-----
Your Cell T10919 will need "something - In - It" - if so, then use:

Sub Macro3()
' Macro3 Macro
' Macro recorded 7/15/2003 by James May

Selection.SpecialCells(xlCellTypeBlanks).Select
Selection.FormulaR1C1 = "=0"
End Sub

HTH




.
 
Steve

A non-programming method would be to select the range A1:T10919

Edit>Go To>Special>Blanks. With blanks still selected enter a 0 in the active
cell.

Hit CRTL + ENTER.

Gord Dibben Excel MVP - XL97 SR2 & XL2002
 
Or even Edit => Replace: <blank> with 0


Gord Dibben said:
Steve

A non-programming method would be to select the range A1:T10919

Edit>Go To>Special>Blanks. With blanks still selected enter a 0 in the active
cell.

Hit CRTL + ENTER.

Gord Dibben Excel MVP - XL97 SR2 & XL2002
 
Back
Top