I want to make a macro which copy first line (here A), then find the file with name A containing in it, then copy all those files to clipboard (like if 2 files names containing A) Then it should show me end result like below....
A = 2
B = 5
C = 3
D = 0 ( 5 files with B letter in it, 3 files with C letter in it, 0 file containing D letter in it)
None of us has the time for long question and answer sessions just to find out the requirements of a task.
Remember – you know your task from the inside out – but unless you can explain it thoroughly and succinctly to others it's really hard to get good help.
I'm not sure if this is what you are asking, but if you want want to know how many items, i.e. lines, are on the clipboard, you can use this simple KM Filter action:
If you want to know the number of individual clipboards (one for each separate copy) made sequentially from a given starting point, take a look at the Paste macro here: