Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Trouble with Elseif command
Hello all...
trying to run the following simple program but it will not run. Have tried the offline help and followed the example to the letter but with no luck. Any ideas would be appreciated. Sub ContractHighlight() ' ' ContractHighlight Macro ' Macro recorded 23/11/2004 by Keith Holden ' 'If h4 1 Then Range("A4:M4").Select Selection.Interior.ColorIndex = 3 ElseIf i4 1 Then Range("A4:M4").Select Selection.Interior.ColorIndex = 2 End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
ELSEIF Loop to End | Excel Discussion (Misc queries) | |||
Elseif? | Excel Worksheet Functions | |||
if elseif | Excel Discussion (Misc queries) | |||
ElseIf | Excel Programming | |||
If...Elseif...End If | Excel Programming |