Hi all,
After playing with this for a while I'm a bit beaten and asking for help.
I have a sheet with an entry list up to 200 entries long.
I need to loop through the range B6:M200 on Sheet1 copying two rows at a time, and pasting only some of the cells into cells on a second sheet - Sheet2.
As the second sheet is a label, the fields from Sheet1 which are in rows are dispersed in field locations in Sheet2.
eg. for the first two rows B6:M7
Sheet1 B6 pastes (value only) to Sheet2 D14
Sheet1 M6 pastes (value only) to Sheet2 C13
Sheet1 B7 pastes to (value only) Sheet2 D37
Sheet1 M7 pastes to (value only) Sheet2 C33
I'll then call a routine to print Sheet2 as a page.
Loop on Sheet1 to next two rows
Sheet1 B8 pastes to Sheet2 D14 (overwriting previous value)
Sheet1 M8 pastes to Sheet2 C13 "
Sheet1 B9 pastes to Sheet2 D37 "
Sheet1 M9 pastes to Sheet2 C33 "
the process repeats until the last row containing data is found on Sheet1
I've tried a few different ways but not that allow me to spread the data around on the Sheet2 in the locations it's needed. (I've just realised I should have searched for a mailing label VBA routine...
Any assistance appreciated.
Thanks
Dave
After playing with this for a while I'm a bit beaten and asking for help.
I have a sheet with an entry list up to 200 entries long.
I need to loop through the range B6:M200 on Sheet1 copying two rows at a time, and pasting only some of the cells into cells on a second sheet - Sheet2.
As the second sheet is a label, the fields from Sheet1 which are in rows are dispersed in field locations in Sheet2.
eg. for the first two rows B6:M7
Sheet1 B6 pastes (value only) to Sheet2 D14
Sheet1 M6 pastes (value only) to Sheet2 C13
Sheet1 B7 pastes to (value only) Sheet2 D37
Sheet1 M7 pastes to (value only) Sheet2 C33
I'll then call a routine to print Sheet2 as a page.
Loop on Sheet1 to next two rows
Sheet1 B8 pastes to Sheet2 D14 (overwriting previous value)
Sheet1 M8 pastes to Sheet2 C13 "
Sheet1 B9 pastes to Sheet2 D37 "
Sheet1 M9 pastes to Sheet2 C33 "
the process repeats until the last row containing data is found on Sheet1
I've tried a few different ways but not that allow me to spread the data around on the Sheet2 in the locations it's needed. (I've just realised I should have searched for a mailing label VBA routine...
Any assistance appreciated.
Thanks
Dave