L
Leo
I want to create code that will since the state (True or False) of
"OptionsView DisplayNameIndent" and then change it to the opposite state. I
have created code below. I am having problems with the way I am asking the IF
portion of the code. I know I am not doing it correctly but I cant find
anything that shows me the correct way. Anyone have any ideas?
Sub Outline_toggle()
' Macro Outline_toggle
If DisplayNameIndent Then
OptionsView DisplayNameIndent:=False
Else
OptionsView DisplayNameIndent:=True
End If
End Sub
"OptionsView DisplayNameIndent" and then change it to the opposite state. I
have created code below. I am having problems with the way I am asking the IF
portion of the code. I know I am not doing it correctly but I cant find
anything that shows me the correct way. Anyone have any ideas?
Sub Outline_toggle()
' Macro Outline_toggle
If DisplayNameIndent Then
OptionsView DisplayNameIndent:=False
Else
OptionsView DisplayNameIndent:=True
End If
End Sub