Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 202
Default Skip / Execute Macro Q

I have a very simple piece of code that mails out various sheets, its
all captured in the routine below, how could I include a test within
each sub routine to either:-
(a) skip to next sub routine if value in SheetA B1 < 0 - this
reference is specific to each sheet or
(b) if answer to (a) is True execute sub routine and continue to next

Sub Send()

Application.ScreenUpdating = False
Application.DisplayAlerts = False

Call Mail_New_Version
Call Mail_1
Call Mail_2
Call Mail_3
Call Mail_4
Call Mail_5

Sheets("Manual").Select
Range("A1").Select
End Sub
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
Skip a Macro Vick Excel Discussion (Misc queries) 2 December 22nd 09 05:06 PM
Macro: Code for skip a row Albert Excel Programming 5 April 1st 09 08:47 PM
If cell is empty then run macro otherwise skip this macro [email protected] Excel Programming 3 June 12th 06 03:55 PM
Sheets Skip Macro NICK Excel Discussion (Misc queries) 2 February 11th 05 07:16 AM
How to skip in a macro Bob Phillips[_6_] Excel Programming 1 February 9th 04 05:56 PM


All times are GMT +1. The time now is 11:48 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"