Hi All,
I am trying to write a macro with VB editor in excel. However when i try to compile my code i get an error saying "ELSE WITHOUT IF"
My code goes like this
I am trying to write a macro with VB editor in excel. However when i try to compile my code i get an error saying "ELSE WITHOUT IF"
My code goes like this
Code:
If name = name1 Then If activity <> activity1 Then GoTo 10 If subactivity <> subactivity1 Then GoTo 10 Else GoTo 99 End If Else GoTo 99 End If End If
Comment