I have a folder called PDF, in there there are subfolders
I like to save the pdf to the subfolder that is in a sheet Textbox.
How do I change
into something like this,where TextBox2 is the name of the subfolder where the PDF should be saved.
I like to save the pdf to the subfolder that is in a sheet Textbox.
How do I change
Code:
strFile = ThisWorkbook.Path & "\PDF\" & Sheets("Sheet1").Textbox1 & " (" & Format(Now(), "dd-mm-yyyy") & ")" & ".Pdf"
Code:
strFile = ThisWorkbook.Path & "\PDF\Sheets("Sheet1").Textbox2\" & Sheets("Sheet1").Textbox1 & " (" & Format(Now(), "dd-mm-yyyy") & ")" & ".Pdf"