MartinLe50
New Member
- Joined
- Aug 28, 2020
- Messages
- 7
- Office Version
- 2016
- Platform
- Windows
I am new to VBA, the chart below shows the grey number cells and white number cells. The white cells are just like an ID cell to the grey cells, they represent the number of days. The grey cells represent the number of dollars during that duration of time.
Every number in the grey cells have another grey cell number cell that when multiplied by 2 yields it's double. For example the value of (5 and 10), (10 and 20), (20 and 40), (30 and 60) etc... I want to know how to write out the code to populated this data with the white cells which represent the number of days.
I supposed a For Next Loop would have to go through the grey numbers cells and then a variable is assigned from the white cells to the grey cells. Then again, I am kind of new to this and a couple of command codes or instructions how to do this would be great! New photo added to shared album
Every number in the grey cells have another grey cell number cell that when multiplied by 2 yields it's double. For example the value of (5 and 10), (10 and 20), (20 and 40), (30 and 60) etc... I want to know how to write out the code to populated this data with the white cells which represent the number of days.
I supposed a For Next Loop would have to go through the grey numbers cells and then a variable is assigned from the white cells to the grey cells. Then again, I am kind of new to this and a couple of command codes or instructions how to do this would be great! New photo added to shared album