I have a simple table to calculate income for a customer.
I need to be able to add a button next to each line that adds another row below the button location, where it copies and pastes everything, enters 0 in amount cell, clears Source content and leave cursor in Source.
I've searched everywhere for a macro for relative references from with buttons with no luck. :/
Button can be either a shape, form or active, I dont care as long as it works!
similarily, I need to create a delete row button, to delete the row where the button is placed (including the button)
Table:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Income Type
[/TD]
[TD]Source
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]Salary or wages
[/TD]
[TD]<dropdown></dropdown>
[/TD]
[TD]$
[/TD]
[/TR]
[TR]
[TD]Bonus
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pension
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Unemployment
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Alimony Child Supp
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TOTAL
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to be able to add a button next to each line that adds another row below the button location, where it copies and pastes everything, enters 0 in amount cell, clears Source content and leave cursor in Source.
I've searched everywhere for a macro for relative references from with buttons with no luck. :/
Button can be either a shape, form or active, I dont care as long as it works!
similarily, I need to create a delete row button, to delete the row where the button is placed (including the button)
Table:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Income Type
[/TD]
[TD]Source
[/TD]
[TD]Amount
[/TD]
[/TR]
[TR]
[TD]Salary or wages
[/TD]
[TD]<dropdown></dropdown>
[/TD]
[TD]$
[/TD]
[/TR]
[TR]
[TD]Bonus
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pension
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Unemployment
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Alimony Child Supp
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TOTAL
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]