2 Replies Latest reply on Dec 4, 2013 1:32 AM by Santosh Pawar

    - Save As - Macro that finds certain folder in file directory

    Jan Willem Beckmans

      Hi all,


      I'm working on a macro for saving a PDF file of a drawing, in a specific folder.

      The drawing is located in a certain folder, and in that folder there's another folder named " * PDF Temporary" (The * represents the project number, which differs)

      I want to use this macro with any project, so i would like a piece of code that finds that folder which has "PDF Temporary" in it.



      As a result I want a String variable like this:


      SaveLocation = CurDir & PDF_Folder & FileName &  ".pdf"


      Hope anyone can help me