-
Jan 25th, 2010, 03:58 PM
#1
Thread Starter
New Member
Print form in middlle of page
Hello,
I would like to know how to print a form in the middle of a page. I already know how to print the form using PrintForm. I want to know if there is any way that the form can be aligned to the middle of the page when it prints. I've already centered the form at runtime.
Thanks
-
Jan 25th, 2010, 06:53 PM
#2
Re: Print form in middlle of page
http://support.microsoft.com/default...b;en-us;161299
check out this example from microsoft for printing forms with full control over the output
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jan 25th, 2010, 07:12 PM
#3
Re: Print form in middlle of page
Another example from Microsoft:
How to Print Entire VB Form and Control the Printed Size
http://support.microsoft.com/?kbid=84066
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders
-
Jan 25th, 2010, 09:58 PM
#4
Thread Starter
New Member
Re: Print form in middlle of page
Thanks guys, that is too muh code for me to understand so I'll just leave it as is. Thank you for helping though.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|