I have a worksheet controlled by another department that I'm working on 'improving' for my department. Without messing up the same worksheet that they use in their department.
So I have worksheet #1 , controlled by my department. There are a handful of fields/cells I want to automatically transfer over into worksheet #2 , controlled by another department. Once those cells are populated in #2 , I would like to then add a button to worksheet #2 that will generate a pdf of the active sheet in that worksheet and then email it to another user to approve.
So worksheet #2 is stored in SharePoint, and I don't have permission to modify that worksheet. But if I open that worksheet as a read only worksheet and keep it open on my desktop, I can add vba code to my worksheet #1 to send the necessary information to #2 . No problem with that.
But can I add vba code to #1 that modifies #2 , and adds a 'send email' button in a certain location, and create the module in #2 with the vba code to be executed by that newly added button?
So I'm adding the necessary functionality, without touching their original worksheet?
I found a thread on MrExcel for generating a pdf and sending the email, now I'm looking for how to programmatically add that to the second worksheet.
Thanks!
So I have worksheet #1 , controlled by my department. There are a handful of fields/cells I want to automatically transfer over into worksheet #2 , controlled by another department. Once those cells are populated in #2 , I would like to then add a button to worksheet #2 that will generate a pdf of the active sheet in that worksheet and then email it to another user to approve.
So worksheet #2 is stored in SharePoint, and I don't have permission to modify that worksheet. But if I open that worksheet as a read only worksheet and keep it open on my desktop, I can add vba code to my worksheet #1 to send the necessary information to #2 . No problem with that.
But can I add vba code to #1 that modifies #2 , and adds a 'send email' button in a certain location, and create the module in #2 with the vba code to be executed by that newly added button?
So I'm adding the necessary functionality, without touching their original worksheet?
I found a thread on MrExcel for generating a pdf and sending the email, now I'm looking for how to programmatically add that to the second worksheet.
Thanks!