tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,194
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
OK so this is what I need.
when I run the macro,
Sheet "Stocked Products" has a list of all the products we stock in Rows 3:200
Column G is the current selling price.
Column Q is generated when the price from our suppliers has gone up or down to show a price change and shows the new price.
So I want a macro to update my Column G with new prices when the macro is run but not over write the ones that have not changed see example below.
Ideal would be macro is run and asks "There are new prices do you want to update?"
if I select yes do it
No exit sub
<tbody>
</tbody>
OK so this is what I need.
when I run the macro,
Sheet "Stocked Products" has a list of all the products we stock in Rows 3:200
Column G is the current selling price.
Column Q is generated when the price from our suppliers has gone up or down to show a price change and shows the new price.
So I want a macro to update my Column G with new prices when the macro is run but not over write the ones that have not changed see example below.
Ideal would be macro is run and asks "There are new prices do you want to update?"
if I select yes do it
No exit sub
A | G | Q | |||||||
1 | |||||||||
2 | |||||||||
3 | Product | other columns | Current Price | other | columns | New Price | |||
4 | cup | 10.00 | |||||||
5 | spoon | 11.00 | 15.00 | so the macro would replace G5 with 15.00 as this is the new price | |||||
6 | hat | 5.00 | but the ones with no one price don't change. | ||||||
7coat | coat | 7.00 | |||||||
8 | fork | 4.00 | |||||||
9 | spoon | 9.00 | 7.00 | ||||||
10 | duck | 12.00 | |||||||
<tbody>
</tbody>