Solved

Word 2010 VBA Code to show Sections and Formatted Page Number on Status bar

Posted on 2013-12-13
5
526 Views
Last Modified: 2013-12-17
Hi experts

Is there a way through VBA to turn on Sections and Formatted Page Number in the Word Status Bar - see my image attached to show you what I'm referring to.

If there is no way of doing this through VBA, can someone tell me if this is possible to roll out via group policy settings?
0
Comment
Question by:Fi69
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 40
ID: 39718878
You forgot your attached image, but the following activate the status bar if it does not show:

Application.DisplayStatusBar = True

If your problem is that the Sections and PageNumber are grayed out and do not provide any information, then this is because the document does not yet have a second page or second section. They will light up as soon as you have more than one.
0
 

Author Comment

by:Fi69
ID: 39719444
Sorry about the picture. I've now attached. The status bar is displayed. I want to customise it to show Sections and Page numbers.
statusbar.jpg
0
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 250 total points
ID: 39719694
OK, I get it.

Recording a macro while doing activating the options in Word 2007 does not give any result. This is usually an indication that the operation in not supported in VBA. You might try to do the same in 2010 just in case, but I would be surprised if it worked. The documentation for Word 2007 VBA clearly states that the StatusBar property that was available in 2003 is no longer supported.

I think that you are out of luck on that one.
0
 

Author Comment

by:Fi69
ID: 39719799
2010 returns the same thing - nothing.

I was worried I might be out of luck. How annoying.

Any idea if this is something that can be rolled out through group policy settings?
0
 
LVL 40
ID: 39719860
Sorry, I am not familiar about Office group policy. I could not tell.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question