Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2018, 03:50 AM
dastgir dastgir is offline Text string for page number Windows 10 Text string for page number Office 2007
Novice
Text string for page number
 
Join Date: Aug 2018
Posts: 5
dastgir is on a distinguished road
Default Text string for page number


what is the text string for page number in header/footer.
the string &[Page] of &[Pages] is not working in word 2007.
Reply With Quote
  #2  
Old 08-04-2018, 07:32 AM
gmayor's Avatar
gmayor gmayor is offline Text string for page number Windows 10 Text string for page number Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

You would need to insert a pair of fields


{ PAGE } of { NUMPAGES }


Use Ctrl + F9 for the bracket pairs.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 08-04-2018, 07:35 AM
Charles Kenyon Charles Kenyon is offline Text string for page number Windows 10 Text string for page number Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

If you are reporting something you see rather than something you typed, try pressing Alt+F9.


Reply With Quote
  #4  
Old 08-05-2018, 11:16 PM
dastgir dastgir is offline Text string for page number Windows 10 Text string for page number Office 2007
Novice
Text string for page number
 
Join Date: Aug 2018
Posts: 5
dastgir is on a distinguished road
Default

Quote:
Originally Posted by gmayor View Post
You would need to insert a pair of fields


{ PAGE } of { NUMPAGES }


Use Ctrl + F9 for the bracket pairs.

Its still not working. Is there anything special in insertion of this text string or we may write in direct in the footer
Reply With Quote
  #5  
Old 08-05-2018, 11:59 PM
macropod's Avatar
macropod macropod is offline Text string for page number Windows 7 64bit Text string for page number Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Did you use Ctrl-F9 to create the field braces (i.e. {})? You can't simply type them.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 08-06-2018, 03:15 AM
dastgir dastgir is offline Text string for page number Windows 10 Text string for page number Office 2007
Novice
Text string for page number
 
Join Date: Aug 2018
Posts: 5
dastgir is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Did you use Ctrl-F9 to create the field braces (i.e. {})? You can't simply type them.

No it still not working. Can you please send me an exampl word file for the same.
Reply With Quote
  #7  
Old 08-06-2018, 03:22 AM
macropod's Avatar
macropod macropod is offline Text string for page number Windows 7 64bit Text string for page number Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Well, if the answer's 'no', the solution is to do it the right way. This isn't rocket science - you can also insert the page numbering by opening the Header or Footer, then choosing Header & Footer Tools|Page Number>Bottom of Page>Page X of Y>Plain Number.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #8  
Old 08-06-2018, 06:05 AM
Charles Kenyon Charles Kenyon is offline Text string for page number Windows 10 Text string for page number Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by dastgir View Post
No it still not working. Can you please send me an exampl word file for the same.

See Supplemental Building Blocks for Headers and Footers



See also: Pagination Fields
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Text string for page number Rule: Look for this number string and only this number string kcm5153 Outlook 3 03-30-2015 10:15 PM
Text string for page number Way to search for a string in text file, pull out everything until another string? omahadivision Excel Programming 12 11-23-2013 12:10 PM
Word delete page if string is not contained wolfking333 Word VBA 0 06-23-2013 10:02 AM
Text string for page number Extracting a phone number from a string that contains text and numbers. hommi16 Excel 2 06-05-2013 09:19 PM
Text string for page number Macro to Add Text and Page Number to Top of Each Page Within Text eslight Word VBA 10 12-07-2012 08:18 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft