I have the below list which I am passing through a macro as a series of variables.
Cork City RCMT
Cork West & East RCMT
Dublin Central RCMT
Dublin North & West RCMT
Dublin South RCMT
Galway & Mayo RCMT
Kerry & North Cork RCMT
Limerick & Clare RCMT
Mid Leinster RCMT
North East RCMT
North West RCMT
South East RCMT
Waterford & Tipperary RCMT
I am populating files based on the autofilter results for 2 seperate columns matching each one of the above strings. However, as each of the strings vary in lenght I am unsure of the best way to get the string to match the auto filter results exactly.
I've attached the below code to give an example of what I am doing. Any suggestions would be apreciated.
Bookmarks