Hi,
It seems to work OK for me. i.e. it copies the filtered column I values on the Raw Data Sheet to E6 on the Attendance Summary Groups sheet. You say this last Copy is from the wrong sheet. If not the Raw Data sheet which sheet should be copied?
Are you sure that in stepping through the macro and presumably jumping back to Excel to see the effect you haven't inadvertently changed the Active 'Raw Data' sheet to some other sheet? This is quite easy to do when you look to see what is happening to two sheets.
It's always advisable to fully qualify which ranges you are dealing with by including the sheet reference in a VBA instruction. i.e. instead of just
always use
Note 'Raw_Data' is the VBA sheet code name not the tab name. You should always use code named rather than the string text of the tab names which are too easily changed and in which case would cause your macro to fall over. Similarly always pass the sheet code name to a procedure rather than the sheet name string.
Bookmarks