Results 1 to 4 of 4

Thread: Print form in middlle of page

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2009
    Location
    Belize
    Posts
    10

    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

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    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

  3. #3
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    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

  4. #4

    Thread Starter
    New Member
    Join Date
    Dec 2009
    Location
    Belize
    Posts
    10

    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
  •  



Click Here to Expand Forum to Full Width