Hi All I know the title is a bit confusing so here I go, I have tried looking for the answers but don’t seem to find what I’m looking for.
I create registers every month from a master file with loads of data (names DOBs addresses etc) in the past this was all done manually by other people but since I have taken the job I decided to automate it, I have created a few macros for this and it is ever evolving when I come across issues (the debug box) or if I see a way to improve things.
So I obviously know how to open other files from within a macro and re save and all that good stuff, but am having problems with the best way to select the cells I need to copy, attached is a dummy sheet which is like our master file but a lot smaller as there are lots of sheets within our workbook and lots more data on each sheet. Also attached is a copy of the blank register to show how/why/where I need this data pasted too.
I need to copy the data to the right of the "Stage" for each group then paste it to the correct sheet on the register file, I have a macro that does this by using the auto filter function then offsetting to the next column selecting the next 4 or 5 columns then xldown to get all the data copy and so on, this worked fine until the club changed this and some stages only had 1 person in it or some had none in it temporally then I get errors and debug issues again, so I need a full proof macro.
So in summary I need the best way to, select the stage eg "Gold" copy a certain columns to the right of these cells ready to be pasted into the register file.
thanks in advance
Darren
Bookmarks