cgcamal
Active Member
- Joined
- May 2, 2007
- Messages
- 472
Hi everyone,
When we want to search a string within a complete sheet or range, we use:
1-) Ctrl+F-->Input "String" to search-->Click on "Search next" (Excel goes to position/address of "String")
or
2-) Ctrl+F-->Input "String" to search-->Click on "Search All" (Excel shows addresses list of all ocurrences of "String")
Considering only 2nd option ("Search All"), somebody knows with VBA, how to store directly in an Array
the addresses list of all ocurrences of a matched "String"?
I would like to avoid to do N times "Find next..." and "store current in array", "Find next..." and "store
current in array", "Find next..." and ..... "store current in array".
Thanks in advance for any help.
Regards.
When we want to search a string within a complete sheet or range, we use:
1-) Ctrl+F-->Input "String" to search-->Click on "Search next" (Excel goes to position/address of "String")
or
2-) Ctrl+F-->Input "String" to search-->Click on "Search All" (Excel shows addresses list of all ocurrences of "String")
Considering only 2nd option ("Search All"), somebody knows with VBA, how to store directly in an Array
the addresses list of all ocurrences of a matched "String"?
I would like to avoid to do N times "Find next..." and "store current in array", "Find next..." and "store
current in array", "Find next..." and ..... "store current in array".
Thanks in advance for any help.
Regards.