View Single Post
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default excel input 0 when cell blank or deleted by key or spacebar

Record a macro when you select your range
edit|replace
what: (leave empty)
with: 0
replace all



Curt wrote:

Need to write a macro that will update sheet if entry error. Need to replace
entry error with 0 so formulas will work. Blank cell gives error msg. Macro
will be run to correct. I am useing excel 2000. Have tried =if(b1="",0,)
also
=if(and(b1<"",b1=0),"n/a","") next =if(iserror(org form),"",(orig form))


--

Dave Peterson