Hi all,
I am new to macro so would really appreciate your help.
I need a macro that allows me to click a button and then copy data from worksheet 1 and paste into worksheet 2. However, when pasting the data into worksheet 2, I need it to search according to its ID number and paste the data according to its ID number.
I have attached a simplified workbook on this. Basically, I will type data into cells B1:B3 in the ‘input’ tab. Then with a click of a button, the macro will paste data at cells B2 and B3 into the ‘all staff’ tab according to the ID number listed in the ‘all staff’ master tab. Then if possible, after data has been pasted, a message box that pops up to say data copied successfully.
Many thanks in advance.
Iceblocks
I am new to macro so would really appreciate your help.
I need a macro that allows me to click a button and then copy data from worksheet 1 and paste into worksheet 2. However, when pasting the data into worksheet 2, I need it to search according to its ID number and paste the data according to its ID number.
I have attached a simplified workbook on this. Basically, I will type data into cells B1:B3 in the ‘input’ tab. Then with a click of a button, the macro will paste data at cells B2 and B3 into the ‘all staff’ tab according to the ID number listed in the ‘all staff’ master tab. Then if possible, after data has been pasted, a message box that pops up to say data copied successfully.
Many thanks in advance.
Iceblocks
Attachments
Last edited: