[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::windows95

Title:Microsoft Windows 95 ("Chicago")
Notice:Please read topics 1 to 22 before writing anything
Moderator:EEMELI::BACKSTROM
Created:Sun Nov 13 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2958
Total number of notes:19968

2816.0. "Problem inserting page numbers in Word" by UTRUST::TIMMER (Semper TECO!) Tue Feb 25 1997 07:49

    I want to insert pagenumbers in my word document in the form
    
    	1/3, 2/3, 3/3 
    
    for a three-page document. No problem, I use insert field to
    insert Page "/" SectionPages in the footer.
    
    My problem starts when I want no page number if my document 
    consists of only one page (1/1 looks so silly...).
    
    I've tried to use an "if" field to accomplish this, but to no
    avail. 
    What are the incantations I need to work this miracle?
    
    Thanks, Rien.
    
    (Cross-posted in MSWINDOWS)
                             
T.RTitleUserPersonal
Name
DateLines
2816.1STAR::PITCHERSteve Pitcher/Pathworks for OpenVMSTue Feb 25 1997 08:233
    Try asking in BOOKIE::WINWORD.
    
    -	stp
2816.2Separate 1st page header is a work around...NWD002::FEIGLEThu Feb 27 1997 01:0714
    Funny, I don't use Page and SectionPages.  I use the fields page number
    and number of pages in the footer.  I've never used the "if", but the
    simple method might be to never have a page number on the 1st page. 
    I.E.  set it up so that your first page header/footer is different from
    the rest.  I think this is right in the document setup fields.
    
    And I kind of like the idea.... so please share your solution. 
    However, I disagree with one item... Page 1/1 on the bottom is quite
    informational, as it tells me for sure that nothing else follows. I'd
    suggest leaving it....  My template has a x/y page numbering for all
    pages... but you know, those folks from the midwest can be "simple"...
    that's me...
    
    jff
2816.3UTRUST::TIMMERSemper TECO!Fri Feb 28 1997 14:449
    I figured it out by myself (by reading the fine manual carefully...)
    
    { if {SectionPages} = 1 "" "{Page} / {SectionPages}" \* MERGEFORMAT }
    
    In order to be able to see and type in this stuff, use Alt-F9 to make
    the codes visible, and use Ctrl-F9 to generate the {}-pairs.
    
    Rien.