Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to use VBA to count the occurrences of a filename in column M,
such as "myfile.xls". Problem is, each time the name appears (after the first one), it'll include a number, like "myfile(2).xls", "myfile (3).xls", and so on. Also, I can't just count occurrences of the name because it could appear as a non-filename ("myfile"), without the .xls extension, and I don't want to count that. When I have finished counting them, I want to add another instance, with a higher number than the existing ones, also in column M. I've been experimenting with Find and FindNext (because that's faster than looking for "myfile" and ".xls" in each cell of column M. Any help would be appreciated! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count how many occurrences | Excel Discussion (Misc queries) | |||
Count Occurrences In A Column, Then Display In A Table | Excel Discussion (Misc queries) | |||
Need column evaluated to count total of occurrences of "Y". How? | Excel Worksheet Functions | |||
Count Number of Occurrences in a Column | Excel Worksheet Functions | |||
Count occurrences of values in a column??!! | Excel Worksheet Functions |