All functions in the macro vbs file can be referenced once the macro file is in place. In case we want to use the new macro in the creation of the PDF output file name then we can open the options dialog and enter string shown below in the file name input field.
Download Example Files
You can download and run the example yourself. The files needed are available here. The VBS file must be placed in the macros sub folder of the PDF writer installation. You can use the MacroDir setting to change the location of the VBS files if needed.