Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all
Not sure why my code is failing Debug comesback highlighted at ELSE Error is Else without IF Thanks -goss Code : Option Explicit Sub TestValue() Dim c As Range Dim blnTest As Boolean blnTest = False For Each c In Range("C:C") If blnTest = True Then Exit For Else If IsNumeric(c) Then c.EntireColumn.Hidden blnTest = True End If End If Next c End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run when exit | Excel Worksheet Functions | |||
how to exit sub | Excel Programming | |||
exit while? | Excel Programming | |||
Exit when its a Mac | Excel Programming | |||
If a called sub exit, how to the caller exit right away? | Excel Programming |