https://bugs.documentfoundation.org/show_bug.cgi?id=161883

--- Comment #2 from Rafael Lima <[email protected]> ---
I guess what you wanted to do in CC is:

Function CC(lNumber As Long) As String
    Dim s1 As String
    If lNumber <= 0 Then
        s1 = "lNumber <= 0"
    Else
        If lNumber > 1 Then
            s1 = "lNumber > 1"
        Else
            s1 = "Else"
        End If
    End If
    MsgBox s1
    CC = s1
End Function

Notice the change in the position of "End If".

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to