Style Pane - how to specify what displays

V

Vivian Carroll

In W2002, I have a macro that turns on the Style Task Pane. I want that
macro to also make the Task Pane display only Available Styles and not to
display the Normal style. I know how to do this manually, but how do I do it
with code? VBA help only shows how to make the Task Pane visible.

TIA,

Vivian Carroll
 
C

Cindy M -WordMVP-

Hi Vivian,
In W2002, I have a macro that turns on the Style Task Pane. I want that
macro to also make the Task Pane display only Available Styles and not to
display the Normal style. I know how to do this manually, but how do I do it
with code? VBA help only shows how to make the Task Pane visible.
I've never been able to find a way to access this interface. I've tried
recording macros (during the 2002 beta), and I got some code. But running that
code never affected anything. The conclusion I came to was that Microsoft
decided to not expose this interface to VBA for some reason.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
V

Vivian Carroll

Hi Cindy - great to have you reply to my message!

Boo hoo about the Style Task Pane.

Vivian
 
C

Cindy M -WordMVP-

Hi Vivian,
Boo hoo about the Style Task Pane.
Yeah, that's for sure. You might look for the MS Wish on
microsoft.com (I've never seen it, but I've heard it's
there) and put in a request. Since they at least started on
making an object model for it, they must have *some* idea
how to proceed.

Cindy Meister
 
P

perian

mailto:[email protected]

Actually there's a (short) Task Pane model in Word2003. I haven´t yet found
time to plsy with it and don't know if it will work in other versions.
 

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