martinargimon
Member
Hi Chandoo !
I have attached my excel file for reference purposes.
In brief, my problem is the 'syntax' (file path name), to ensure that the printed range is saved as a PDF, in the folder corresponding to the value selected in cell "C29". ( see screen capture example below).
I have created folders for each of the UNIT number (which they will match whatever unit i select with my filter in cell C29).
I would like the 'path' to pick this UNIT number (in cell 'C29" dynamically), so that the file path name contains the unit number that corresponds with the repective folder.
Kindly review my code in the sheet 'Owner_Payment_Remittance". (the first subroutine works 100% ) right , although the second one ( commented in green) does NOT work).
Many Thanks. Regards. Martin

I have attached my excel file for reference purposes.
In brief, my problem is the 'syntax' (file path name), to ensure that the printed range is saved as a PDF, in the folder corresponding to the value selected in cell "C29". ( see screen capture example below).
I have created folders for each of the UNIT number (which they will match whatever unit i select with my filter in cell C29).
I would like the 'path' to pick this UNIT number (in cell 'C29" dynamically), so that the file path name contains the unit number that corresponds with the repective folder.
Kindly review my code in the sheet 'Owner_Payment_Remittance". (the first subroutine works 100% ) right , although the second one ( commented in green) does NOT work).
Many Thanks. Regards. Martin
