View Single Post
 
Old 05-09-2014, 01:56 AM
NobodysPerfect NobodysPerfect is offline Windows 7 64bit Office 2010 32bit
Competent Performer
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default

Hi Paul,

You're right, I mixed two things up.

But my issue still remains. Working with longer document I often use the Navigation Pane, which - by default - displays all used heading levels. With more than one level displayed it is (for long) documents quite confusing. I still have to scroll and look, scroll and look, ... so I manually reduce the Navigations Panes' appearance to Heading 1 level (right click in the Navigation Pane and
'Reduce all levels' command).

But as I use the 'Application.ShowWindowsInTaskbar = False' option, whenever I change documents, the Navigation Pane again uses the default stetting = all heading levels. A very annoying behavior, because then I again have to reduce the number of shown heading levels.

My solution right now is a Sendkeys sequence in the 'Document_Change' event. It seems to work reliably but I am not one for Sendkeys solutions.

That's why I'm still looking for a 'reduce all levels' (for Naviagtion Pane) command in VBA. Maybe I got a bit stuck in a rut with that command, but I really wasn't able to find a straight VBA way to change the Navigation Pane display behavior.

If you can help - great, if there is no solution, I will stick at 'my Sendkeys' until I notice some 'misbehavior'.

NP
Reply With Quote