View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson Jim Thomlinson is offline
external usenet poster
 
Posts: 5,939
Default Stopping a Macro If a cell is left blank

Something like this...

If Trim(Sheets("sheet 1").Range("A1").Value) = "" then
UserForm1.Show
else
'proceed as normal
end if

--
HTH...

Jim Thomlinson


"David A." wrote:

Good morning,
I need to have an email macro stop and show a userform if a cell in a
worksheets is left blank.
How in the world can I do this?