Hi All,
I've spent the past week searching through every possible forum for a how-to, and have yet to find one. If an answer exists out there, please feel free to point me in the right direction.
I have one workbook with two worksheets: Sheet 1 (a list of raw data) and Sheet 2 - a preformatted agenda template that I've created. My goal is to be able to automatically pull/push specific (autofiltered) rows from Sheet 1 and populate it into a designated section of Sheet 2. I have created code autofiltering the raw data in Sheet 1. Success. I have test code copying/pasting the visible rows into a test spreadsheet. I'm stuck because I can't get the autofiltered rows into the specific section of Sheet 2 without upsetting my destination formatting. I want the designated section of Sheet 2 to expand or contract based on the number of filtered rows that I need to report on that week.
Example: This week, my autofilter shows 10 records (10 rows, 6 columns) in Sheet1. Section 2 of Sheet2 only has two rows (6 columns). What is the best way to insert these records into Section 2 and have Section 2 automatically expand/resize to an additional 8 rows? I realize that I could shift down and manually paste, but I lose my preformatted agenda template (and I really am reluctant to use Excel Reports).
An added complication is that Section 2 varies. I'm using a 'find' text code to locate and offset to my active cell and set where Section 2 is supposed to begin. Not sure if this makes sense, so please please feel free to chime in.
I've spent the past week searching through every possible forum for a how-to, and have yet to find one. If an answer exists out there, please feel free to point me in the right direction.
I have one workbook with two worksheets: Sheet 1 (a list of raw data) and Sheet 2 - a preformatted agenda template that I've created. My goal is to be able to automatically pull/push specific (autofiltered) rows from Sheet 1 and populate it into a designated section of Sheet 2. I have created code autofiltering the raw data in Sheet 1. Success. I have test code copying/pasting the visible rows into a test spreadsheet. I'm stuck because I can't get the autofiltered rows into the specific section of Sheet 2 without upsetting my destination formatting. I want the designated section of Sheet 2 to expand or contract based on the number of filtered rows that I need to report on that week.
Example: This week, my autofilter shows 10 records (10 rows, 6 columns) in Sheet1. Section 2 of Sheet2 only has two rows (6 columns). What is the best way to insert these records into Section 2 and have Section 2 automatically expand/resize to an additional 8 rows? I realize that I could shift down and manually paste, but I lose my preformatted agenda template (and I really am reluctant to use Excel Reports).
An added complication is that Section 2 varies. I'm using a 'find' text code to locate and offset to my active cell and set where Section 2 is supposed to begin. Not sure if this makes sense, so please please feel free to chime in.