-
You didn't include my function. The more important thing is that you did not provide a drive:\path\filename.pdf for the file to create. Are you going to create a static filename like I did or is it built from parts of your userform control Values?
The userform was too big to fully display and show the buttons for me. That may be a factor for you if others have screen settings lower than yours.
e.g. Static Name:
Code:
Private Sub btnPrintPDF_Click()
WindowToPDF ThisWorkbook.Path & "\Staples.pdf"
End Sub
-
perfect!!! thanks for hanging in there with me on this. much appreciated. Solved.
-
I'm just here to say THANK YOU! I needed to perform this exact operation and was able to successfully use the code supplied. :thumb