I hope someone out there can help. I have a worksheet with values in column A that are based on a personal id for an individual and then the next columns have information for that individual. So for instance I have info for the same individual in rows 1 to 16 then the next individual in rows 17 to 99 and then for the next in rows 100 to 121, etc...so the info for individuals is not the same number of rows always.
What I would like to do is to create a macro that allows me to copy cells in column F of the worksheet based on the value of column A. The value in column A is numeric id number. I would then like to paste these copied cells into another worksheet (and transposed the info into one row instead of several rows) i.e. for instance copy f1:f16 and paste into A1 in another worksheet and so on. This is because I have another worksheet with all the info for an individual laid out on one row instead of several rows like I have in this worksheet.
I am able to record a macro to select data for a particular personal id and paste special (values only and transposed) into the other worksheet but my problem is that I still have to manually select for each personal id and this is becoming quite a chore...as I need to do this for about 98,000 records! Can someone please help by just telling me or giving me the vba code to select a range of cells based on the value in a particular column.
Thanks to any helper(s) out there...
What I would like to do is to create a macro that allows me to copy cells in column F of the worksheet based on the value of column A. The value in column A is numeric id number. I would then like to paste these copied cells into another worksheet (and transposed the info into one row instead of several rows) i.e. for instance copy f1:f16 and paste into A1 in another worksheet and so on. This is because I have another worksheet with all the info for an individual laid out on one row instead of several rows like I have in this worksheet.
I am able to record a macro to select data for a particular personal id and paste special (values only and transposed) into the other worksheet but my problem is that I still have to manually select for each personal id and this is becoming quite a chore...as I need to do this for about 98,000 records! Can someone please help by just telling me or giving me the vba code to select a range of cells based on the value in a particular column.
Thanks to any helper(s) out there...