Wolfgang
Fri Jul 02 04:59:04 CDT 2004
Thank you, Klaus, in particular for the link to Steve=20
Hudson's very interesting article.
Unfortunately, your proposal for refreshing the task pane=20
does not seem to work with the Visibility property.
Gru=DF, Wolfgang
>-----Original Message-----
>Hi Wolfgang,
>
>I think the problem is that the task pane doesn't update=20
automatically.
>
>Some code that seems to force an update of the "styles=20
and formatting" pane
>in Word2002:
>Options.FormatScanning=3DNot(Options.FormatScanning)
>Options.FormatScanning=3DNot(Options.FormatScanning)
>
>(since it toggles twice, it doesn't change the original=20
setting)
>
>Word2003 seems to be even more badly broken.
>
>BTW, Steve Hudson has written a great article on the=20
task panes, especially
>with regard to their (meagre) VBA support:
>
http://www.geocities.com/word_heretic/TaskPanesVBA6.zip
>
>Gru=DF,
>Klaus
>
>
>
>"Wolfgang Vogelgesang" <info@dialogika.de> wrote:
>> Hi,
>>
>> the visibility of styles in Word 2002's Styles and
>> Formatting task bar can be controlled as follows:
>> - open the task bar's "Show" combo box
>> - choose "Custom..."
>> - now you can select which styles are to be visible for
>> the "All styles" category, for example
>>
>> If you record this, the macro contains lines like this:
>> ActiveDocument.Styles("Footnote Text").Visibility =3D=20
True
>>
>> However, if you run this macro, the visibiliy of the
>> Footnote Text style is not modified.
>>
>> Thanks in advance for any hint.
>>
>> Wolfgang
>
>
>.
>