Solved

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

Posted on 2013-12-13
5
521 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I'm writing to share my clumsy experience in using this elegant tool so you can avoid every stupid mistake I made. (I leave it to the authorities to decide if this deserves a place in the Knowledge archives.)  Now that I am on the other side of my l…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
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 walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…

825 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