Set myBar = CommandBars("Custom")
If user = "Level 1" Then
myBar.Visible = True
Else
.CommandBars("Visual Basic").Reset
myBar.Enabled = False
End If
example from help.
--
Regards,
Tom Ogilvy
"cacique" wrote in
message ...
What's the correct format to use the Reset me command?
I am trying to use but I am getting error "wrong number of arguments or
invalid property assignment"
--
cacique
------------------------------------------------------------------------
cacique's Profile:
http://www.excelforum.com/member.php...o&userid=24861
View this thread: http://www.excelforum.com/showthread...hreadid=385456