Hi All,
I'm not sure how to do this so hoping you can help
I have a button on an excel form and when you click it, it send an automated email to someone to say they approve the document.
What I would also like is for it to put the date they clicked the button and their user name into certain cells. I know how to do the code for this, the issue I have is the button and related cells are at the bottom of the form.
If a user adds or removes rows above the sign off boxes at the bottom in the form the cell reference for the date and name move either up or down. Is there a way to dynamically ensure the date and name always go into the cells adjacent to the button?
The bottom of the sheet looks like the below
[TABLE="class: grid, width: 700"]
<tbody>[TR]
[TD]Role[/TD]
[TD]Name[/TD]
[TD][/TD]
[TD]Signature[/TD]
[TD][/TD]
[TD]Date[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Designer[/TD]
[TD]Person 1[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
[TR]
[TD]Chief Engineer[/TD]
[TD]Person 2[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
[TR]
[TD]Gate Keeper[/TD]
[TD]Person 3[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
[TR]
[TD]Program Manager[/TD]
[TD]Person 4[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
[TR]
[TD]Data Coordinator[/TD]
[TD]Person 5[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
Cat
I'm not sure how to do this so hoping you can help
I have a button on an excel form and when you click it, it send an automated email to someone to say they approve the document.
What I would also like is for it to put the date they clicked the button and their user name into certain cells. I know how to do the code for this, the issue I have is the button and related cells are at the bottom of the form.
If a user adds or removes rows above the sign off boxes at the bottom in the form the cell reference for the date and name move either up or down. Is there a way to dynamically ensure the date and name always go into the cells adjacent to the button?
The bottom of the sheet looks like the below
[TABLE="class: grid, width: 700"]
<tbody>[TR]
[TD]Role[/TD]
[TD]Name[/TD]
[TD][/TD]
[TD]Signature[/TD]
[TD][/TD]
[TD]Date[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Designer[/TD]
[TD]Person 1[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
[TR]
[TD]Chief Engineer[/TD]
[TD]Person 2[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
[TR]
[TD]Gate Keeper[/TD]
[TD]Person 3[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
[TR]
[TD]Program Manager[/TD]
[TD]Person 4[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
[TR]
[TD]Data Coordinator[/TD]
[TD]Person 5[/TD]
[TD]Approval Button[/TD]
[TD]Signature[/TD]
[TD]username generated by code[/TD]
[TD]Date[/TD]
[TD]date generated by code[/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
Cat