cubefarmed
New Member
- Joined
- Dec 8, 2011
- Messages
- 6
Greetings coders! I have a problem. My workbook contains two sheets appropriately named Data Dump and Formatting.
Within the Data Dump, I want to establish the amount of rows by using CountA("A3:A50"). For the sake of this question lets say there are 5 data rows.
I want to set my print area on Formatting to be B1 to H165. Columns B and C must be part of the print area, but the column disposition begins with the D column.
Example: If I have 10 rows in Data Dump, I want the print area to be B1:M165. Each additional row increases the Column of my print area by 1.
I hope this makes sense. I tried to conceptualize this in terms of variables and declarations I just started confusing myself. I'm a poor poor VBA student
Thanks for any help!
Within the Data Dump, I want to establish the amount of rows by using CountA("A3:A50"). For the sake of this question lets say there are 5 data rows.
I want to set my print area on Formatting to be B1 to H165. Columns B and C must be part of the print area, but the column disposition begins with the D column.
Example: If I have 10 rows in Data Dump, I want the print area to be B1:M165. Each additional row increases the Column of my print area by 1.
I hope this makes sense. I tried to conceptualize this in terms of variables and declarations I just started confusing myself. I'm a poor poor VBA student
Thanks for any help!