Macro to save word pages separately as PDF and name them according to text in third line

Discussion in 'Word VBA' started by CuddlyBear, Jul 3, 2015.

  1. CuddlyBear

    CuddlyBear

    Joined:
    Jul 3, 2015
    Messages:
    1
    Likes Received:
    0
    Hello,

    First poster here. Sorry if this issue has been raised before and answered but I did not find anything as a solution for me.

    My problem is that I have a multipage word document and I need to save every single page separately as a pdf. Also, the names of the PDFs need to match whatever is in the third line of every page (the first line has a date, second line is blank and third line has the name). I've tried a few codes I found online but I am too much of a vba noob to understand how I can name the pages in the way I want.

    http://wellsr.com/vba/2015/word/examples/word-vba-saves-pages-as-separate-pdfs/

    This is the code I am using which is great because it has pop up windows asking where to save and how many pages I want to save. Still, the pages are saved with the names "Page 1", "Page 2" etc.

    I am okay with changes to the above code or a different macro altogether (even one without pop up windows).

    Thank you in advance! :)
     
    CuddlyBear, Jul 3, 2015
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Jason
    Replies:
    3
    Views:
    120
    Jason
    Sep 16, 2003
  2. Some Guy

    Third party controls and Word add-ins

    Some Guy, Jun 6, 2005, in forum: Word VBA
    Replies:
    0
    Views:
    110
    Some Guy
    Jun 6, 2005
  3. perskram attttt gmail dotttt com

    Sort according to word length

    perskram attttt gmail dotttt com, Oct 19, 2005, in forum: Word VBA
    Replies:
    4
    Views:
    177
    perskram atttttt gmail dottttt com
    Oct 20, 2005
  4. MIrving
    Replies:
    3
    Views:
    115
    Doug Robbins - Word MVP
    Dec 2, 2007
  5. avkokin
    Replies:
    2
    Views:
    84
    avkokin
    Dec 4, 2007
  6. Domseeker
    Replies:
    4
    Views:
    174
    Domseeker
    Jan 5, 2009
  7. mocha99
    Replies:
    1
    Views:
    93
    Jay Freedman
    Jul 10, 2009
  8. Sally Green
    Replies:
    1
    Views:
    161
    Doug Robbins - Word MVP
    Oct 21, 2009
Loading...