I want to be able to copy a cell value from a workbook into a specific cell in another workbook. I've found some info on the internet but can't wrap my head around it and therefore adapt it to get it to work for me. It's so frustrating when you know in your head what you want to do, but can't create code to do it...
Example,
There are multiple similar Workbooks, i.e. "Memo x/2024", where x is a consecutive numerical value. Each "Memo x/2024" Workbook is contained within it's own folder, i.e. "1.2024 - Title summary", "2.2024 - Title summary" and so on.
There is a "Tracker" Workbook which is located at a fixed location, which lists each workstream by Row, i.e. Row2 contains data associated with "1.2024", Row3 with "2.2024" and so on.
In one such "Memo" Workbook, let's call it "Memo 1/2024" the reference number "1/2024" is a text value in Cell B11. There is also a date value in Cell B9.
When the user completes tasks associated with the folder documents, they input a date into the "1.2024 Memo" Workbook (Cell B9) which is the completion date. The reference number in Cell B11 is auto-populated when the Workbook is created.
I have coded for them to be able to send an email from the "Memo" Workbook to a team manager to notify them that the tasks have been completed and the files are ready for review. I would like to be able to send the date value from Cell B9 in the "Memo" Workbook to the appropriate Cell in the "Tracker" Workbook.
Whilst I know how to send the value from one to the other, and understand how to reference the appropriate Column using offset, I am encountering two problems,
1) How do I code to use the reference number of Cell B11 in the "Memo" Workbook, to locate the appropriate Row in the "Tracker" Workbook, searching through Range("B2:B")?
2) How can I update the "Tracker" Workbook regardless of whether it is open.
Any help would be very much appreciated.
Example,
There are multiple similar Workbooks, i.e. "Memo x/2024", where x is a consecutive numerical value. Each "Memo x/2024" Workbook is contained within it's own folder, i.e. "1.2024 - Title summary", "2.2024 - Title summary" and so on.
There is a "Tracker" Workbook which is located at a fixed location, which lists each workstream by Row, i.e. Row2 contains data associated with "1.2024", Row3 with "2.2024" and so on.
In one such "Memo" Workbook, let's call it "Memo 1/2024" the reference number "1/2024" is a text value in Cell B11. There is also a date value in Cell B9.
When the user completes tasks associated with the folder documents, they input a date into the "1.2024 Memo" Workbook (Cell B9) which is the completion date. The reference number in Cell B11 is auto-populated when the Workbook is created.
I have coded for them to be able to send an email from the "Memo" Workbook to a team manager to notify them that the tasks have been completed and the files are ready for review. I would like to be able to send the date value from Cell B9 in the "Memo" Workbook to the appropriate Cell in the "Tracker" Workbook.
Whilst I know how to send the value from one to the other, and understand how to reference the appropriate Column using offset, I am encountering two problems,
1) How do I code to use the reference number of Cell B11 in the "Memo" Workbook, to locate the appropriate Row in the "Tracker" Workbook, searching through Range("B2:B")?
2) How can I update the "Tracker" Workbook regardless of whether it is open.
Any help would be very much appreciated.