Hi everyone,
I currently use the autofilter to copy data from my main data worksheet to 6 other worksheets in my workbook based on 2 autofilter criteria. This is done as part of my code in VBA.
This doesn't seem like it is the most efficient and fastest way to do this (The code runs really slow at that point)
I would like to know how to do this a better way. I would think I would have to loop though my main worksheet looking for a specific name (John Doe) and the secondary criteria (Forecast) and each time it finds that criteria in the line it would copy that line and paste in the appropriately named worksheet (Already Created with John Doe's Name)
There are a total of 3 names and 2 types of secondary criteria, for a total of 6 worksheets that the data get's copied into.
I am not sure how to do this, could someone point me in the right direction?
Thanks!
I currently use the autofilter to copy data from my main data worksheet to 6 other worksheets in my workbook based on 2 autofilter criteria. This is done as part of my code in VBA.
This doesn't seem like it is the most efficient and fastest way to do this (The code runs really slow at that point)
I would like to know how to do this a better way. I would think I would have to loop though my main worksheet looking for a specific name (John Doe) and the secondary criteria (Forecast) and each time it finds that criteria in the line it would copy that line and paste in the appropriately named worksheet (Already Created with John Doe's Name)
There are a total of 3 names and 2 types of secondary criteria, for a total of 6 worksheets that the data get's copied into.
I am not sure how to do this, could someone point me in the right direction?
Thanks!