Custom Property - Macro to save drawing PDF in a default subfolder wtih date and time

Hello all,

I am new to macros, but I tried to search for a previously made macro here and I can't seem to find exactly what I need..

As the title suggests, I would like to use a macro that saves my drawing file as a PDF file, in a PDF specific folder in the same folder of the part/drawing, with current date and time in its name.

I know that I could probably look for a similar macro and edit it, but I really lacking in C or VBA (solidworks language if I am correct).


Thank you very much!

SolidworksApi/macros