Hi can anyone help with vba code?
I have two ranges A and B that mirror each other with headers A-G
range A "T5:Z7" sheet1
range B "AC5:AI7" sheet1
range B calculates values from another sheet and range A keeps a record of remaining values
range B "AC5:AI7" sheet1
range B calculates values from another sheet and range A keeps a record of remaining values
when I have remaining values anywhere in 'range B' I want record them at the same position in 'range A' until all cells in range A are filled with values from range B by adding a line of code to commandbutton1
ie
Before
T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | AI | AJ | AK | |
1 | ||||||||||||||||||
2 | ||||||||||||||||||
3 | RngA recorded records | RngB Remaining values | ||||||||||||||||
4 | A | B | C | D | E | F | G | A | B | C | D | E | F | G | ||||
5 | 188 | |||||||||||||||||
6 | 22 | 499 | 200 | |||||||||||||||
7 | 10 | 55 | 177 | 188 | ||||||||||||||
8 | ||||||||||||||||||
After | ||||||||||||||||||
T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | AI | AJ | AK | |
1 | ||||||||||||||||||
2 | ||||||||||||||||||
3 | RngA | RngB | ||||||||||||||||
4 | A | B | C | D | E | F | G | A | B | C | D | E | F | G | ||||
5 | 188 | |||||||||||||||||
6 | 22 | 200 | 499 | |||||||||||||||
7 | 10 | 55 | 177 | 188 | ||||||||||||||
8 |
<tbody>
</tbody>
Any help would be appreciated
Regards
pwill
Last edited: