How To Set combo box in commandbar

G

Gary

I have been searching for help on this topic for over 2 weeks. Can someone
please help!!

I am using Visio 2003 and I need to use the CommandBar command to select a
combo box called "Ink Thickness". The items in this combo box is 1 pt, 1-1/4
pt, 1-1/2 pt, 1-3/4 pt, 2 pt, etc. How do I select which one I want by VBA
code??

I have tried CommandBars("Ink").Controls("Ink Thickness") This is where it
needs the thickness selected. I have also been following the command by
..accDoDefaultAction.


It seems that I need the .accDoDefaultAction for this command:
CommandBars("Menu Bar").Controls("Edit").Controls("Select
All").accDoDefaultAction This works and select all.

The reason I am using this method is that Ink is not under VBA control.


Thank You,

Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top