Andreas Hermle
asked on
Count the number of occurrences of a substring in Column A entries using VBA
Dear Experts:
I got thousands of entries in Column A. Part of the string in these entries can be 99-999-99-99 such as ...
P:\\Graphics\\MyFolder\\99 \\99-999-9 9-99.tif
I would like a macro ...
... to count the number of entries in Column A in the current worksheet where the sub-string 99-999-99-99 occurs.
The result is to be displayed in D5 of the current worksheet.
Help is much appreciated. Thank you very much in advance.
Regards, Andreas
I got thousands of entries in Column A. Part of the string in these entries can be 99-999-99-99 such as ...
P:\\Graphics\\MyFolder\\99
I would like a macro ...
... to count the number of entries in Column A in the current worksheet where the sub-string 99-999-99-99 occurs.
The result is to be displayed in D5 of the current worksheet.
Help is much appreciated. Thank you very much in advance.
Regards, Andreas
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
both codes / formulas work just fine. I suggest splitting the points 350:150
Thank you very much for your great and swift support. I really appreciate it. Regards, Andreas