Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-12-13
5
Medium Priority
?
553 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 1000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
This video teaches the viewer how to align pictures around text while keeping the text properly aligned in the document.
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
Suggested Courses

926 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