In the attached macro when I click on Generate Pdf we are getting a Run time error. Kindly help.
In the attached macro when I click on Generate Pdf we are getting a Run time error. Kindly help.
your code is correct, check value on sheet Format_1 cell K19
If solved remember to mark Thread as solved
ExcelToPDF ToPDFWorkSheet.Range("B5").Value , PdfFilePath
Ben Van Johnson
TY Proton, sorry still unable to make it work...Kindly explain...
Friends Thank you its working but still its printing only 1 Page i.e. the last page mentioned in the Range. It is supposed to print all the pages mentioned in the range on Format_1 worksheet K19 to K20...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks