I am looking for a VBA Macro that sets the print area on the active sheet from A1 to the last used cell (the number of columns and rows is not consistent) and ignores "" returned by formulas.
Thoughts?
Thanks!
I am looking for a VBA Macro that sets the print area on the active sheet from A1 to the last used cell (the number of columns and rows is not consistent) and ignores "" returned by formulas.
Thoughts?
Thanks!
Not sure exactly what end result you are expecting but try...
Please Login or Register to view this content.
If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved
Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown
Thanks for your response.
This is great with the exception that it ignores any cell with a formula. Ideally, I would like it to include any cell with a formula that returns a value (including 0), but not a formula that returns a blank.
See if either of the codes below give you what you require
Please Login or Register to view this content.
Please Login or Register to view this content.
Both do exactly what I wanted. For this application, PArea2 works better.
Thank you so much!
Both do exactly what I wanted. For this application, PArea2 works better.
Thank you so much!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks