Solved

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

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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…
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

735 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