Add a Check Mark to a Command Bar Button
-
- 5StarLounger
- Posts: 689
- Joined: 27 Jan 2010, 16:45
- Location: Ottawa, Ontario, Canada
Add a Check Mark to a Command Bar Button
Can someone show me how to add a check mark to a command button when building a command bar with VBA? As in the attached.
You do not have the required permissions to view the files attached to this post.
Regards
Don
Don
-
- Administrator
- Posts: 78631
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Add a Check Mark to a Command Bar Button
Set the State property of the command bar button to msoButtonDown. To remove the check mark, set the State property to msoButtonUp.
Best wishes,
Hans
Hans