+ Reply to Thread
Results 1 to 11 of 11

Printing multiple userforms

  1. #1
    Registered User
    Join Date
    10-22-2009
    Location
    amsterdam, netherlands
    MS-Off Ver
    Excel 2003
    Posts
    31

    Printing multiple userforms

    Hello all,

    I made a front page where the user can input several parameters and then open 3 different userforms which perform calculations. The first 2 userforms just perform calculations but on the third i have two populated comboboxes where the user can choose a device and then it will display the corresponding calculations.
    What i would like to do is print all the inputs from the front page, and all 3 userforms (with only the device selected shown). I would like to print the userforms and not copy them to an excel sheet and then print them from there. Is there a way to print all these things together?

    Any suggestions would be very much appreciated.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Printing multiple userforms

    Not sure if you are actually referring to UserForms or sheet based forms.

    If UserForms created in the VB Editor, then although i is possible to print them, he resulting print is not reallythat good. I would suggest that you have a pre-formatted sheet to post the data from the forms to, then print the sheet
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    10-22-2009
    Location
    amsterdam, netherlands
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Printing multiple userforms

    I am using userforms in the vb editor. My boss really likes the way the userforms look so he would like a printout of the userforms together. Is there a way to do that through vb. If not I read some code written by Leith Ross

    http://www.excelforum.com/excel-prog...-printing.html

    2 years ago about taking a screenshot and printing it. Maybe there's a way that i can open all 3 userforms at the same time and then take a screenshot of that.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Printing multiple userforms

    I can't really understand why anyone would want the forms printing. See Leith's post

  5. #5
    Registered User
    Join Date
    10-22-2009
    Location
    amsterdam, netherlands
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Printing multiple userforms

    I really don't have an idea why my boss wants the userforms printed. I just have to tell him that it can't be done.

    Now i have a question about only copying the data from the userform to a sheet. I have some conditional formatting used, can i copy that too to the sheet.
    And how to i only copy the device the user chose instead of the whole list.

    Thanks

  6. #6
    Registered User
    Join Date
    10-22-2009
    Location
    amsterdam, netherlands
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Printing multiple userforms

    I have a simpler solution but i don't know how to do it. I can copy the sheet the has all the data and results on it to a temp sheet and then delete all the devices not used a print it out. What do you think?

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Printing multiple userforms

    I haven't got a clue without seeing the workbook.

    You can't have conditional formatting in a userform

  8. #8
    Registered User
    Join Date
    10-22-2009
    Location
    amsterdam, netherlands
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Printing multiple userforms

    i will try to upload a sample file. I didn't actually use conditional formatting, i just wrote some code that will color the textbox depending on the result compared with set value.

  9. #9
    Registered User
    Join Date
    10-22-2009
    Location
    amsterdam, netherlands
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Printing multiple userforms

    Again i think i have a simpler soln. I can add the conditional formatting to the sheet itself and so when i transfer it will show the correct colors.
    Sorry about all the conflictions (just started using vb last week).

    Anyways is how can i copy everything from one sheet to another and then deleting a few rows.

  10. #10
    Registered User
    Join Date
    10-11-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Printing multiple userforms

    Hello - to copy a sheet, right click on the sheet tab, select "Move or Copy", then check the "create a copy" box. This will create a copy of the sheet and name it.

  11. #11
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Printing multiple userforms

    Quote Originally Posted by ya7omar View Post
    Again i think i have a simpler soln. I can add the conditional formatting to the sheet itself and so when i transfer it will show the correct colors.
    Sorry about all the conflictions (just started using vb last week).

    Anyways is how can i copy everything from one sheet to another and then deleting a few rows.
    Attach th sample workbook so that see what you want

+ 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