Results 1 to 9 of 9
  1. #1
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: MS-WORD (2003)

    <P ID="edit" class=small>(Edited by jscher2000 on 22-Jan-09 20:42. Replaced attachment -- forgot the brackets.)</P>I think page numbering would be easiest. Is it okay if the number is positioned in the header or footer, or do you need it to be in the "body" area of the page? Check out the attached for some quick ideas.
    Attached Files Attached Files

  2. #2
    Star Lounger
    Join Date
    Apr 2008
    Posts
    75
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: MS-WORD (2003)

    Hi,

    Thanks for your help. I want it in the right bottom corner of the page. Please also let me know how I can I modify it if in future I have to make it to top corner position.



    Thanks and Regards,
    Ankit

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: MS-WORD (2003)

    If you want it in the bottom right corner, place the field suggested by Jefferson in the page footer, with two tab characters before it.
    If you want it in the top right corner, place the field suggested by Jefferson in the page header, with two tab characters before it.

  4. #4
    Star Lounger
    Join Date
    Apr 2008
    Posts
    75
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Place tags with page number (Word 2003)

    Subject edited by HansV to be slightly less vague than "MS-WORD"

    Hi,

    I am working on thousands of scanned pages.
    I want to give each page a tag( or simply page number) such that it will be like <?PBx?> ( where x is the page number)
    Now , I want a macro that will help me in such a way that when i press enter to enter into a new page it will automatically paste a tag onto it...Moreover, along with this the page numbers should be in ROMAN.

    For Example,

    for page 1 the tag should be <?PBI?>
    for page 2 the tag should be <?PBII?>
    .
    for page 4 the tag should be <?PBIV?>
    and so on...

    the macro can attach tags upto 50000 pages.

    Thanks in advance. Any help would be appreciated.


    Regards,
    Ankit

  5. #5
    Star Lounger
    Join Date
    Apr 2008
    Posts
    75
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: MS-WORD (2003)

    Hi Hans,


    I did it but it is limited to the document that Jefferson attached. It does not contain any macros in it. So, how can I use it with other word documents?


    Thanks and Regards,
    Ankit

  6. #6
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: MS-WORD (2003)

    Do you want to run the macro manually in a document, or do you want to process all documents in a specific folder, or ...?

  7. #7
    Star Lounger
    Join Date
    Apr 2008
    Posts
    75
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: MS-WORD (2003)

    I want it to run it manually because we don't have specific folders.

    Also, Will the macro (when we run it in the required document manually) attach tags to it when entering each fresh page?


    Regards,
    Ankit

  8. #8
    Star Lounger
    Join Date
    Apr 2008
    Posts
    75
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: MS-WORD (2003)

    Hi Hans,

    I have done it . Thanks for helping me .. I found it how to do it ... It actually does not require any macro .. You can simply attach Header and Footers and Edit Page numbers manually. You just need to Edit the first page number, that's it and other page are getting automatically edited along with it .


    Thanks for helping me ....Learned a new thing because of you guys.



    Regards,
    Ankit

  9. #9
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: MS-WORD (2003)

    That's true, you can edit headers and footers manually.

    If you'd like to automate it a little, you could create the following macro in a module in your Normal.dot template, so that it will be available in all documents. You could assign the macro to a toolbar button, so that you can add the page number with a single mouse click.

    Sub AddTag()
    Dim rng As Range
    With ActiveDocument.Sections(1).Headers(wdHeaderFooterP rimary)
    Set rng = .Range
    rng.Text = vbTab & vbTab & "<?PB"
    rng.Collapse Direction:=wdCollapseEnd
    rng.Fields.Add Range:=rng, Text:="PAGE * Roman"
    .Range.InsertAfter "?>"
    End With
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •