Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Exit Sub if count less than zero.
Need help on this.
I don't want the Macro to work if [***IF COUNT(T4:T53) = 0 THEN EXIT SUB***] inside the Macro below. Sub SettleAutoDue() ***IF COUNT(T4:T53) = 0 THEN EXIT SUB*** Worksheets("A-3").Range("U4:Z4").Copy Range("G5").PasteSpecial Paste:=xlPasteValues, Transpose:=True Application.CutCopyMode = False Range("G4").Activate End Sub Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
EXIT SUB UPON VBCANCEL | Excel Discussion (Misc queries) | |||
Cancel/Exit Sub | Excel Discussion (Misc queries) | |||
Exit Sub | Excel Discussion (Misc queries) | |||
Run when exit | Excel Worksheet Functions | |||
on exit macro | Excel Discussion (Misc queries) |