Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Stopping a Macro If a cell is left blank

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell to return a specific value if left blank Sdtex Excel Worksheet Functions 6 May 15th 09 06:30 PM
Find & Delete columns to the left stopping at column B Aria[_2_] Excel Programming 11 May 20th 06 01:48 AM
Find & Delete columns to the left stopping at column B Aria[_2_] Excel Programming 0 May 18th 06 06:48 PM
Stopping the "Next" command when a blank cell is reached. Bhupinder Rayat Excel Programming 2 November 17th 05 05:42 PM
counting from left to right and stopping when blank harpscardiff Excel Discussion (Misc queries) 6 August 19th 05 07:34 PM


All times are GMT +1. The time now is 01:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"