What I'm trying to do is update amount from one line to another in Excel. They don't have any key that combines but they are in pattern. Always start with Item Group and about 3-7 lines after is End of Item Group. I want to grab the amount from End of Item Group and update the line in Item Group but always Item Group will be first then End of Item Group.
I could upload to SQL if it's easier to work on or Access.
This is the problem.
This is what I'm trying to accomplish:
After this update I wanted to delete every line after item group but only up to end of item group.
So basically if you don't already have the Developer tab, you would need to go to Options > Customize Ribbon > Click 'Developer'
Then click on VB Editor on Developer tab and right click in project area and select "insert new module". In the new module insert this code and save.
To make it easy to run, you can go to Developer tab > Insert > Button. Then right-click on the button and assign it to this macro you just created so everytime you want to update the item group values you can click the button. If the button doesn't let you "assign a macro" then you probably inserted the wrong type of button.