Results 1 to 8 of 8

Thread: Save file as PDF by file name using content from current document with Word VBA

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,273
    Location
    Quote Originally Posted by tendosai View Post
    macropod
    i paste the code and i got same error "The request member of the collection does not exist."
    That suggests your source document is not consistently as described; we can only work with what we're given.


    Without actually seeing the problem document, with some representative samples of the data, it can be difficult for anyone to diagnose the issue. Can you attach a document to a post with some representative data (delete anything sensitive)? You do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.
    Quote Originally Posted by tendosai View Post
    I actually tried with mail merge trick. i got the pdf save seperately but cant figured out the name. i cant seem to get an idea how to get (let's say "Name" to use as filename when save.
    The instructions in the link say quite clearly how to do that...
    Last edited by macropod; 11-29-2022 at 06:26 AM.
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

Tags for this Thread

Posting Permissions

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