pphardikar
New Member
- Joined
- Apr 29, 2013
- Messages
- 3
Hello Every intelligent soul out there,
For the past 15 days I have tried practically every site that google has thrown up whenever I have searched for help on using VBA to create a pre-defined excel sheet with varying data into different PDF files with a filename which can be generated by concatenation of values of few of the select cells in an entirely different sheet.
My problem is as follows:
1. I use MS Excel 2003 and an Adobe Acrobat Pro Writer version 8
2. I have an excel file wherein depending on the the value of a certain variable, I have to print either the sheet TAC_CEP_Gr1 or TAC_CEP_Gr2 into a .PDF file.
3. The file name is a combination of certain cell values. These keep on differing for each different instance of printing.
4. Path name has been frozen to "D:0_PPH\" for the time being.
I have tried worksheets(SheetName).Printout option, I have tried all possible source codes that claimed to solve such an issue, I have tried everything available on the net that I could lay my hands on.
Could anyone of you tell me what exact code could help me do this - I even tried printer setting to Adobe PDF on Ne05: etc.
Regards - Prasad
For the past 15 days I have tried practically every site that google has thrown up whenever I have searched for help on using VBA to create a pre-defined excel sheet with varying data into different PDF files with a filename which can be generated by concatenation of values of few of the select cells in an entirely different sheet.
My problem is as follows:
1. I use MS Excel 2003 and an Adobe Acrobat Pro Writer version 8
2. I have an excel file wherein depending on the the value of a certain variable, I have to print either the sheet TAC_CEP_Gr1 or TAC_CEP_Gr2 into a .PDF file.
3. The file name is a combination of certain cell values. These keep on differing for each different instance of printing.
4. Path name has been frozen to "D:0_PPH\" for the time being.
I have tried worksheets(SheetName).Printout option, I have tried all possible source codes that claimed to solve such an issue, I have tried everything available on the net that I could lay my hands on.
Could anyone of you tell me what exact code could help me do this - I even tried printer setting to Adobe PDF on Ne05: etc.
Regards - Prasad