Results 1 to 9 of 9

Thread: Vba code to save document as pdf using document property text and rename folder.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    I cant get it to work, I think is my fault because I wasnt more specific about what I want. Here it is:

    In this path: ”D:\MIHAI\DOSARE\BAAR” I have a folder named ”INTRO”

    In ”INTRO” folder there are more documents and folders including a word 2010 document that has the properties:

    Title: 6338
    Company fax: 03218
    Company: BZ-98-BNA
    Comments: VW Lupo
    Company Email: 12.02.2015
    Keywords: BAAR/MGD/15/RO

    I want to:

    Rename ”INTRO” folder with: BAAR-Dosar6338_03218 BZ98BNA VW Lupo-12.02.2015

    In the new folder I want to save the current word document with following name:
    R6338_BAAR.MGD.15.RO.03218 BZ98BNA VW Lupo


    In the new folder I want to save the current word document as pdf with following name: R6338_BAAR.MGD.15.RO.03218 BZ98BNA VW Lupo



    Question:
    If it is not possible to rename INTRO in BAAR-Dosar6338_03218 BZ98BNA VW Lupo-12.02.2015

    can the code create a new folder in ”D:\MIHAI\DOSARE\BAAR” named
    BAAR-Dosar6338_03218 BZ98BNA VW Lupo-12.02.2015 and copy all the files and folders
    from ”INTRO” including the final word and pdf in the newly created folder?

    Thanks a lot guys, it means a lot to me, saves me a lot of time at work.
    Last edited by staicumihai; 12-22-2015 at 10:48 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
  •