I have a spreadsheet that I am trying to have an input box applied to vba coding that will enable me to enter a value in the input box that will determine the number of rows to print. Here are the specifics.
The Header starts at row 7 and goes from column A through column H.
The data starts at row 8.
When I enter 100 in the input box, I would like for the print area to capture the header from A7 to H7 and continue down 100 lines.
The current code that I have works but it starts counting the rows from row 1, so I only end up getting 93 lines of data when i enter 100 instead of the header plus 100 rows. Any assistance would be greatly appreciated.
.
The Header starts at row 7 and goes from column A through column H.
The data starts at row 8.
When I enter 100 in the input box, I would like for the print area to capture the header from A7 to H7 and continue down 100 lines.
The current code that I have works but it starts counting the rows from row 1, so I only end up getting 93 lines of data when i enter 100 instead of the header plus 100 rows. Any assistance would be greatly appreciated.
.