treeleaf20
Board Regular
- Joined
- Mar 17, 2009
- Messages
- 154
I have a dependency column (column I) in my spreadsheet and a WBS ID (column A). If I change a date field (column J), I'd like the VBA to find all of the rows that have the changed WBS ID in it. How can I do this with VBA? Some of the dependency columns also have a comma separated list.
For example, say I have the following table:
In this scenario, say I update the row with the WBS ID of 1. In this case, I'd like the system to find this in the Dependency column and have a foreach loop so I can update a value. So in this example, it would find the row for WBS ID 2 and 3.
Thank you in advance.
For example, say I have the following table:
WBS ID (column A) | Dependency (column I) | Start Date (column J) |
1 | 2 | 12/16/2019 |
2 | 3,1 | 12/01/2019 |
3 | 1 | 12/19/2019 |
In this scenario, say I update the row with the WBS ID of 1. In this case, I'd like the system to find this in the Dependency column and have a foreach loop so I can update a value. So in this example, it would find the row for WBS ID 2 and 3.
Thank you in advance.