Rob Webster
New Member
if I have a text string, with separators (say commas for now but this is variable)
e.g 1234,1235,1236,1239
and each element refers to a different activity in a programme of construction works (arranged in a list)
A B C D
eg 1234 dig hole Start date end date
1235 seal hole start date end date
1236 paint hole start date end date
1237 leave paint to dry start date end date
etc,
I'm looking for VBA code for a function that can separate out each/every element in the text string and search through the list of tasks to find the activity with the corresponding ID and return the one with the earliest start date or the latest finish date
Ive managed to extract a specific element but need to loop through them all and search a list to return the date, I'm new to this and a long way off. I have a VBA book but cant follow the loop pages.
any advice would be appreciated
e.g 1234,1235,1236,1239
and each element refers to a different activity in a programme of construction works (arranged in a list)
A B C D
eg 1234 dig hole Start date end date
1235 seal hole start date end date
1236 paint hole start date end date
1237 leave paint to dry start date end date
etc,
I'm looking for VBA code for a function that can separate out each/every element in the text string and search through the list of tasks to find the activity with the corresponding ID and return the one with the earliest start date or the latest finish date
Ive managed to extract a specific element but need to loop through them all and search a list to return the date, I'm new to this and a long way off. I have a VBA book but cant follow the loop pages.
any advice would be appreciated