JeremyA1976
Board Regular
- Joined
- Aug 3, 2015
- Messages
- 59
Hi all,
I am trying to set up a button on my main form that I need to do the following steps. I have tried the record macro, but I can't get it to work.
Step 1:
I need the code to search for the last row with no content in column E.
Step 2:
Select an array of cells from the determined last empty row at column AA up to cell A1
Step 3:
Create the print area based on the array selected in step 2.
Can someone help point me in the right direction? I am interested in learning HOW it was written and why, not just the solution, so any explanation above and beyond is appreciated!
Thanks,
Jeremy
I am trying to set up a button on my main form that I need to do the following steps. I have tried the record macro, but I can't get it to work.
Step 1:
I need the code to search for the last row with no content in column E.
Step 2:
Select an array of cells from the determined last empty row at column AA up to cell A1
Step 3:
Create the print area based on the array selected in step 2.
Can someone help point me in the right direction? I am interested in learning HOW it was written and why, not just the solution, so any explanation above and beyond is appreciated!
Thanks,
Jeremy