View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
LiSa LiSa is offline
external usenet poster
 
Posts: 17
Default long if statement

I'm sure there must be a short way of doing this
I only want the code to execute if all the cells in a
range are filled. So far I have this.
All the cells are on the same row


If range("A1")<"" and range("A2")<"" _
and range("A3")<"" etc etc then
execute code
end if

TIA