Petronella
New Member
- Joined
- Jan 10, 2012
- Messages
- 27
- Office Version
- 2016
- Platform
- Windows
I have a Table where each row represents a past or forthcoming charity event. Several of the columns are cost columns derived from lookup tables via Index/Match.
It works great until there is a rate change in one of the costs (maybe the cost of hiring a particular room changes from say $100 per day to $200 per day).
So I want to be able to fix the values of completed events so that their Index/Match values don't automatically update when the rate changes.
I have written a macro that will Copy, Paste Values for the entire table row when called from the first column of a row. This 'fixes' the values on the row such that the original values are retained when the rate changes. However it involves clicking in the first cell of the row in question and then calling the macro.
Is it possible for the macro to run automatically for any row in the table whenever a cell in that first column is clicked?
Apologies, that's rather long winded!
It works great until there is a rate change in one of the costs (maybe the cost of hiring a particular room changes from say $100 per day to $200 per day).
So I want to be able to fix the values of completed events so that their Index/Match values don't automatically update when the rate changes.
I have written a macro that will Copy, Paste Values for the entire table row when called from the first column of a row. This 'fixes' the values on the row such that the original values are retained when the rate changes. However it involves clicking in the first cell of the row in question and then calling the macro.
Is it possible for the macro to run automatically for any row in the table whenever a cell in that first column is clicked?
Apologies, that's rather long winded!