Hi!
Im new to Excel and im working on this "simple" macro.
I have 2 sheets.
On Sheet1(LagerXI) i have inserted data between Columns B to H and row 2 to 800. My idea is that I have 800 buttons in column A (row 2 to 800) next to the data.
When i press a button it should copy that row and insert it in Sheet2(Arbetsmall).
If i then press another button it chould copy that row in Sheet1 and move it to the top of sheet 2. There by moving all previous data in sheet 2 down one step.
This is the code ive come up with:
It works fine but i have like 800 items i need to do a button for. I then have to change Range("B2:H2") by + 1 for the rest of the 800 items.. Is there a code that does that for me?
Bookmarks