I have a column of names which gets its info from another sheet. e.g. every cell in this column says something like =a1 (from sheet1)
basically, when a new employee is added to the spreadsheet on sheet 1... I need to go to sheet two and drag the (=a1) down to a2 to show =a2 so the new name is now copied over to the table on sheet 2.
I KNOW how to do this, but the person who will be using it doesn't know anything about excel so im trying to create a macro to do it for them in the form of a button.
what I tried was... recording myself pressing on the top cell in the table, then pressing CTRL down to go to the last entry. then dragging that cell down.
It works fine for the first press of the button, but I assumed the second press would make the CTRL down command go to the cell I JUST created in the last press of the button but it doesn't - it doesn't do anything on the second press and just repeats same action.
why doesn't the ctrl down command in code go to the last LAST cell on the second press. >
I made a hash of explaining this but someone must get what I mean. to help ppl understand - this is the code:
Please Login or Register to view this content.
Bookmarks