Insert page numbers doesn't work. Help!?

G

Guest

I combined several word documents into one and wants to insert page numbers
after creating one section break. However, when I execute the "insert page
numbers" command, no page numbers appear in the document. Moreover, the
header and footer toolbar doesn't show either when it is requested on the
view header and footer command. I am at a loss what the problem could be.

Thanks for any assistance.
 
C

Charles Kenyon

Never use Insert > Page Number. Ever.

Take a look at http://www.mvps.org/word/FAQs/Numbering/PageNumbering.htm.
For even more, see http://gregmaxey.mvps.org/Page_Numbering.htm.

Open a document and go into Header / Footer view. If the toolbar does not
display then press Alt-F11. This brings up the vba editor. At the bottom of
the screen should be a window that says "Immediate Window." If it is not,
press Ctrl-G.

Type the following in the Immediate Window and press Enter:

Application.CommandBars("Header and Footer").Visible = True

Go back to the Word window. Can you see your toolbar? If not then go back to
the Immediate Window and add the following two statements:

Application.CommandBars("Header and Footer").Top = 394
Application.CommandBars("Header and Footer").Left = 152

Note, you can cut and paste the statements from this message into the
Immediate Window but have to paste them one at a time and press Enter at the
end of each statement yourself. You can close the vba Editor. Your toolbar
should be there and should stick around for you next time you open Word's
header/footer view.

Hope this helps.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide




--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
G

Guest

Hi Charles,

When I typed the first application.commandbars..... statement in the
immediate window and pressed enter, a run-time error '-2147467259
(80004005)': automation error (unspecified error) occurred. So I was unable
to fully execute your recommendations. Any suggestions?

Thank you in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top