redim
Thanks
" wrote:
On Aug 5, 10:41 am, ranswrt wrote:
How do I count how many times a value is in a range to redim an array to that
size?
Thanks
You could use the Countif worksheet function... so you would enter it
in VBA as application.worksheetfunction.countif( The Range , The
Value).
Using this method the range would be the same the VBA range so
application.worksheetfunction.countif( Range("E:E") , 15 ) = how many
time 15 appears in column E.
Hope that helps,
James
|