AndrewMB
Board Regular
- Joined
- Feb 3, 2008
- Messages
- 75
OK, should be a quick one.
I have Jan, Feb, Mar etc going down over (12 rows) and to the right of each of those there is a price stated. One price per month.
If the prices changed in say April, I would want to change May to Dec, but leave Jan to April as they were.
I can find the correct cell and reflect the price change within it, but then want to use vba to autofil downwards.
The Dec cell (the last one) is fixed, always. But depending upon what month the price change occurs, the start cell for the autofil will be variable.
So how do I tell vba to start the autofil in the active cell that I'm in and tell it to stop at Dec?
I have Jan, Feb, Mar etc going down over (12 rows) and to the right of each of those there is a price stated. One price per month.
If the prices changed in say April, I would want to change May to Dec, but leave Jan to April as they were.
I can find the correct cell and reflect the price change within it, but then want to use vba to autofil downwards.
The Dec cell (the last one) is fixed, always. But depending upon what month the price change occurs, the start cell for the autofil will be variable.
So how do I tell vba to start the autofil in the active cell that I'm in and tell it to stop at Dec?