ItIsHardToProgram
Technical User
ok so, I am thinking of something, that is probably possible, and that can probably be done, and I am looking for an idea, not a code (that I will try myself), in where I can get started on how to have a dynamic printing macro.
Let me put you in context:
I have a workbook, that has about 90 worksheets, each worksheet has a different pivot table, that references to the same data sheet.
What my workbook does, is that when you update the data sheet with new data,(run a macro) it takes the new data, reformats it in a new sheet, and that new sheet is what the pivot table feeds on.
Now, once this is done, I want a macro, that prints every sheet in a PDF to a specific location.
The format of the pivot tables might be expanded or retracted, depending on the number of new fields or deleted fields in the new data sheet (monthly). (some information on the right of the sheet must not be printed, that leaves the excel auto-detect print out of the question)
And so, my macro should be able to detect, weither or not the pivot table was expanded or not, and by that re-define the print area. I am really mystified on how to manage that.
My second problem is on how to approach the pdf print, we will make sure that we all have the same PDF pilot, located in the same place, so that it references correctly, and maybe have a prompt if the pilot is not the same, so that they can change it on will.
But will I be able to manage where to print the PDF without prompts?
Thanks for all of your ideas, very much appreciated, if It can't be done, Ill think of an alternative, maybe formated excel sheets with no formulas, only numbers (as an output to replace the pdf).
"Knowing that you know is the greatest sign of stupidity, knowing that you are ignorant is the best proof of intelligence.
Let me put you in context:
I have a workbook, that has about 90 worksheets, each worksheet has a different pivot table, that references to the same data sheet.
What my workbook does, is that when you update the data sheet with new data,(run a macro) it takes the new data, reformats it in a new sheet, and that new sheet is what the pivot table feeds on.
Now, once this is done, I want a macro, that prints every sheet in a PDF to a specific location.
The format of the pivot tables might be expanded or retracted, depending on the number of new fields or deleted fields in the new data sheet (monthly). (some information on the right of the sheet must not be printed, that leaves the excel auto-detect print out of the question)
And so, my macro should be able to detect, weither or not the pivot table was expanded or not, and by that re-define the print area. I am really mystified on how to manage that.
My second problem is on how to approach the pdf print, we will make sure that we all have the same PDF pilot, located in the same place, so that it references correctly, and maybe have a prompt if the pilot is not the same, so that they can change it on will.
But will I be able to manage where to print the PDF without prompts?
Thanks for all of your ideas, very much appreciated, if It can't be done, Ill think of an alternative, maybe formated excel sheets with no formulas, only numbers (as an output to replace the pdf).
"Knowing that you know is the greatest sign of stupidity, knowing that you are ignorant is the best proof of intelligence.