Hi,
As per the heading, im wondering how to add a command button to a form which prints the form when clicked?
Cheers,
Familylink
Hi,
As per the heading, im wondering how to add a command button to a form which prints the form when clicked?
Cheers,
Familylink
VBA has a PrintForm method; I've not used it, but have heard that it prints at screen resolution, not printer resolution.
An alternative would be to copy the data to a sheet and print that.
Entia non sunt multiplicanda sine necessitate
I have tried these code examples:
But both of them just print a blank page. A print screen command would probably work but im not sure how to do that.Please Login or Register to view this content.
A userform is not really designed to print, I always use a sheet set up as a print option which is displaying the details in the form, which is what shg is recommending.
Leith Ross has posted code to print a UserForm though
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Alrighty,
I have it printing using:
Just working on making it print in landscape, I will post the code when I figure it out. Unless anyone else knows how?Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks