Yes, Marcol, that is what I want to do.
I have worksheets that contain the data I want to get."Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec"
I have worksheets where the macros put the results. I have different macros for each worksheet."CF" "Common" and "Emp"
Some of the results on "CF" "Common" & Emp" may be the same results, so when I run the macro on "CF" for example, the macro will also get data (results) from the other worksheets "Common" and "Emp" ( I don't want it to.
So if my macro goes thru all the worksheets, I will get duplicate results on my "CF" "Common" and "Emp"
Keep in mind, for example on "CF" I am getting data where Col A = "1" from ALL worksheets
"Common" I am getting data where Col B = "C1" from ALL worksheets
"Emp" I am getting data where Col A = "E" from ALL worksheets
So if a row (in Jan-Dec worksheets) has "1" in Col A AND "C1" in Col B
the results will show up in worksheets both "CF" and "Common" therefore the they will keep picking up each others results instead of just getting the results from Jan-Dec worksheets.
Therefore results in "CF" "Common" and "Emp" could contain the same data.
When I run these macros, I want it to only retrieve it only from sheets
"Jan" "Feb" "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec"
and exclude "CF" "Common" and "Emp"
One of these is already excluded for example, when I am running it on "Emp"
I have many macros that vary getting results for "1" "2" "3" etc on worksheet CF
and many combinations. They all work great except for getting data from worksheets that I don't want it to.
Bookmarks