Hi, try:
HTH,![]()
If Ans = "" Then End Else '...statements End If
mccreaso
Hi, try:
HTH,![]()
If Ans = "" Then End Else '...statements End If
mccreaso
Originally Posted by mccreaso
Correction:
![]()
If UserEntry1 = "" Then End Else '...statements End If
Another Example:
![]()
msg = ("Enter an account number to highlight.") UserEntry1 = Application.InputBox(msg, , , , , "", , 1) If UserEntry1 <> False Then Ans = MsgBox("Would you like to highlight an additional account?", vbYesNo) Select Case Ans Case vbNo Worksheets("R1").Select Counter = 0 EndCounter = 20 Do Until Counter = EndCounter Range("F6:F28").Select Selection.FormatConditions.Delete ......... End If End Sub
VBA - The Power Behind the Grid
Posting a sample of your workbook makes it easier to look at the Issue.
Perfect - it works, but why? Whats the difference?
/Møller
--
M?ller
have a read of this:
This explains why.
http://support.microsoft.com/kb/142141
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks