EdwardSurrey
New Member
- Joined
- May 13, 2015
- Messages
- 36
- Office Version
- 365
- Platform
- Windows
Hello
Please can I have some help with a macro I am trying to create?
I have a single row row of data in Workbook A, with the first column containing an ID number.
In a Workbook B I have table full of data, where I want to add this row of data to.
I'd like a button in Workbook A that will do the following
1) look at the list of ID numbers in Workbook B.
2) If it sees the same ID number as in Workbook A, replace the entire row in the table with the one from Workbook A (values only)
3) If the ID is not in there, find the first empty row (at the bottom of the table) and copy the row there.
Workbook A is basically a form that I will regularly be putting new rows of data in, needing them sent to Workbook B table.
Apologies if I explained this in a convoluted way. Is this something anyone can help with? Thank you
Please can I have some help with a macro I am trying to create?
I have a single row row of data in Workbook A, with the first column containing an ID number.
In a Workbook B I have table full of data, where I want to add this row of data to.
I'd like a button in Workbook A that will do the following
1) look at the list of ID numbers in Workbook B.
2) If it sees the same ID number as in Workbook A, replace the entire row in the table with the one from Workbook A (values only)
3) If the ID is not in there, find the first empty row (at the bottom of the table) and copy the row there.
Workbook A is basically a form that I will regularly be putting new rows of data in, needing them sent to Workbook B table.
Apologies if I explained this in a convoluted way. Is this something anyone can help with? Thank you