+ Reply to Thread
Results 1 to 3 of 3

Print scrollable user form.

  1. #1
    Registered User
    Join Date
    08-09-2004
    Posts
    6

    Print scrollable user form.

    I have a user form that uses scroll bars. I added a button at the bottom of the form to print what is on the user form. The code executed is userform.Printform. The only part of the form that prints is the part of the form that is in the user window. How can I get the whole form to print, including what is out of the user window?


    Thanks,
    Craig

  2. #2
    Registered User
    Join Date
    08-09-2004
    Posts
    6
    Ok - It seems that printform will only print what the users sees. Doing some research I have found that I need to enclose everything in my form into a PictureBox and then print the PictureBox.

    Can anybody help me with adding the PictureBox control to my toolbox?

    Thanks,
    Craig

  3. #3
    TomHinkle
    Guest

    RE: Print scrollable user form.

    When it prints, in the macro, set the .height property of the form
    sufficiently to have all the information displayed... then after the
    ..printform, reset the .height property

    "cparsons" wrote:

    >
    > I have a user form that uses scroll bars. I added a button at the
    > bottom of the form to print what is on the user form. The code
    > executed is userform.Printform. The only part of the form that prints
    > is the part of the form that is in the user window. How can I get the
    > whole form to print, including what is out of the user window?
    >
    >
    > Thanks,
    > Craig
    >
    >
    > --
    > cparsons
    > ------------------------------------------------------------------------
    > cparsons's Profile: http://www.excelforum.com/member.php...o&userid=12867
    > View this thread: http://www.excelforum.com/showthread...hreadid=392914
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1