Creating a toolbar button that stays pressed, e.g., like the Highlight button on the Formatting tool

A

Avraham Makeler

Hi All,

How would I create a toolbar button that stays pressed, e.g., like the
Highlight button on the Formatting toolbar.



I want to be able to press it, and, leaving it pressed, activate a text
attribute (to change the text color and to underline it), and so be able to
use the cursor (just like the highlighter) to color+underline at will.



Is this possible? I can't see how to set this up using the Word user
interface. So maybe it's programmable using VBA - but I don't know how: I
can't find an API that allows you this type of control of toolbar buttons.



tia



Avraham
 

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