Greetings All,
Is there a VB routine that can unhide rows when I print?
Thanks
Greetings All,
Is there a VB routine that can unhide rows when I print?
Thanks
Please Login or Register to view this content.
Try amending this
Please Login or Register to view this content.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Thanks for the reply.
I inserted the code in the "This workbook" section of the VB editor however it does not seem to work when I try to print.
Am I missing a step?
Thanks again
Dome
Thanks again for the reply.
I was successful inserting it; however, it prints one copy before re-hiding and then proceeds to print a second with the rows hidden.
Is there a way to stop the second print?
Thanks
Try this amendment
Please Login or Register to view this content.
Hi Thanks for the quick response
Should the "Cancel -True" line be "Cancel=True"
It gives me an error the first way.
When I do change it to the later, it runs, unhides and immediately rehides the row but does not print.
If i change the value to "False" it runs, unhides prints and then hides the rows and reprints the worksheet.
I truly appreciate your help in the matter
Yes, that's a typo, I must have hit the wrong key. Try this
Please Login or Register to view this content.
Wow
Thanks again
This time it works except it no longer hides after the print
any clue?
try
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks