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

Conference noted::mswindows

Title:Microsoft Windows
Moderator:EEMELI::BACKSTROM
Created:Thu Apr 24 1986
Last Modified:Thu May 29 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4731
Total number of notes:24015

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

    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 WINDOW95)
    
T.RTitleUserPersonal
Name
DateLines
4720.1And the answer is 'yes'...NWD002::FEIGLEThu Apr 03 1997 12:5712
    The author figured this out himself.... posting his reply here to close
    this out and help anyone else......
    
    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.