Results 1 to 7 of 7

Thread: Footer Page 1 of 2

Threaded View

  1. #7

    Thread Starter
    Addicted Member
    Join Date
    Nov 2003
    Posts
    233

    Re: Footer Page 1 of 2

    Thank's brucevde

    This code help me but can i make Footer like that 1 Of 4 rather than Page 1 of 4

    What's wrong with this code not working with the code i use and add new page and dilogbox open to save the word as new document

    VB Code:
    1. Set oDoc = oWord.Documents.Add

    This is my code
    VB Code:
    1. Dim oWord As object
    2. Dim oDoc As WORD.Document
    3.  
    4. set oWord = Createobject("Word.Application)
    5.      oWord.Visible = False
    6.      oWord.documents.Add
    7.  
    8. ' Here Code to make Dir for folder on the desktop and save the doc on it by given name
    9.  
    10. oDoc.Save
    11. 'Code to format the page
    12.  
    13. oWord.documents.Close
    14. oWord.Application.Quit
    15. Set oWord = Nothing
    Last edited by jamal464; Jan 30th, 2006 at 06:55 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width