+ Reply to Thread
Results 1 to 2 of 2

How to determine the number of Pages in a Word Document using EXCEL VBA

  1. #1
    Registered User
    Join Date
    05-31-2014
    Posts
    2

    How to determine the number of Pages in a Word Document using EXCEL VBA

    Hi Forum,

    I'm trying to copy the content of a word document (File A) to another (File B) using Excel VBA. File A has about 100's of pages (not sure of the number as it varies) and this needs to be split to different files, each having 15 Pages.

    Below is my code, where I'm able to select the content of the first Page and paste it in the target folder, but not sure how to determine the number of pages in word using excel VBA. Can anyone help me out to get this sort outed.

    Note: Copying the content should be done, page wise only.

    Please Login or Register  to view this content.
    Thanks,
    King

  2. #2
    Registered User
    Join Date
    05-31-2014
    Posts
    2

    Re: How to determine the number of Pages in a Word Document using EXCEL VBA

    Hi Guys,

    I tried this myself and found a solution to this! Below is the final code

    Please Login or Register  to view this content.
    Thanks,
    King

+ 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. Create Multiple pages in Single word document
    By SathishKumar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-28-2013, 01:12 PM
  2. How to determine Number of Pages of PDF?
    By Konsti1989 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-06-2013, 10:59 PM
  3. Printing selected pages in a Word document
    By Tristan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2006, 08:45 PM
  4. Excel 2003 - Determine the number of printed pages
    By SMORGS in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-05-2005, 07:00 PM
  5. RUN CONSECUTIVE EXCEL DATES ON DIFFERENT PAGES IN WORD DOCUMENT
    By KELL in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-31-2005, 12:06 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