If...Then... Else and IsNull : IsNull « Data Type Functions « VBA / Excel / Access / Word Home VBA / Exce ...
www.java2s.com