+ Reply to Thread
Results 1 to 1 of 1

Add page numbers to Word document created with excel macro

  1. #1
    Registered User
    Join Date
    04-07-2015
    Location
    Denmark
    MS-Off Ver
    2013
    Posts
    1

    Add page numbers to Word document created with excel macro

    Hi
    I've made a macro that create a word document, paste a specific range of cells into it and then send it as an e-mail. That parts works just fine.

    But the documents the macro create are often 2 or 3 pages long and i would of cause like to have page numbers in the footer of the word document.

    So what I'm looking for is a line of code that add page numbers to the active document in the right side of the footer, something like this:

    Please Login or Register  to view this content.
    I hope someone can point me in the right direction.

    Best regards
    Simon
    Last edited by husballe; 05-21-2015 at 03:08 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 03-25-2014, 11:23 AM
  2. trying to export a word document created using excel spreadsheet data to pdf
    By twyblue in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2014, 12:33 PM
  3. Excel VBA Save a document created with word in both .doc and .html
    By Lavnpc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2012, 01:01 PM
  4. Opening an Excel created Word Document (VBA Only) [v2010/14]
    By lloydgodin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2012, 04:31 PM
  5. Printing Problem in Word Document Created from Excel VBA
    By Jim Skrydlak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-30-2006, 02:00 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1