gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,342
- Office Version
- 365
- Platform
- Windows
I have two tables.
One is a list on tab "PBoMsTasks" / PBoMTaskListTable_2
The other is on tab "3 Enter PBoM" / EnterPBoMs
I need to take the data from EnterPBoMs (which headers are in C5:J5) and copy the data from that table and Paste it to the bottom of a third table CMCS_Table on "CMCS.
CMCS headers start in B15 But I need the data pasted into column D not column B of the CMCS
But copy and paste it to the bottom each time there is a value in PBoMTaskListTable_2 row A. each time there is a value in A of the PBoMTaskListTable_2 I need that value and the value in B also copied and pasted along side the data in column B&C of CMCS. Yes it will be the same value down the same number of rows as the number of rows coming from EnterPBoMs.
So this copy and pasting will be repeated the number of times that there are rows in PBoMTaskListTable_2
But I want to the code to first check the value coming from PBoMTaskListTable_2 column A to see if its already in the CMCS table. If it is, I need to delete that data first.
A bit complicated, but hope its clear.
Any help with this complicate code is greatly appreciated.
Thanks
Greg
But I before it does the Copy and Pastes I need it to first check the value in column
One is a list on tab "PBoMsTasks" / PBoMTaskListTable_2
The other is on tab "3 Enter PBoM" / EnterPBoMs
I need to take the data from EnterPBoMs (which headers are in C5:J5) and copy the data from that table and Paste it to the bottom of a third table CMCS_Table on "CMCS.
CMCS headers start in B15 But I need the data pasted into column D not column B of the CMCS
But copy and paste it to the bottom each time there is a value in PBoMTaskListTable_2 row A. each time there is a value in A of the PBoMTaskListTable_2 I need that value and the value in B also copied and pasted along side the data in column B&C of CMCS. Yes it will be the same value down the same number of rows as the number of rows coming from EnterPBoMs.
So this copy and pasting will be repeated the number of times that there are rows in PBoMTaskListTable_2
But I want to the code to first check the value coming from PBoMTaskListTable_2 column A to see if its already in the CMCS table. If it is, I need to delete that data first.
A bit complicated, but hope its clear.
Any help with this complicate code is greatly appreciated.
Thanks
Greg
But I before it does the Copy and Pastes I need it to first check the value in column