+ Reply to Thread
Results 1 to 4 of 4

prinitng userform

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    prinitng userform

    Hi

    I hope someone could help me please?

    I have a sheet which has a userform pop up when the sheet opens, it basically gives a description/summary of the figures in the sheet and has formulas in it to summarise the data.

    What i need to be able to do is print this along with the workbook, is this possible to do? if so how do you do it without actually going into the userform in the developer tab and printing it there?

    Thanks

    Dan

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    Dan

    You could use Me.PrintForm in the userform module.

    Mind you in the past I've been kind of disappointed with the result when using that method.

    What I usually do is transfer the data to a (temporary?) worksheet, format/page setup etc and then print the sheet.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: prinitng userform

    not to worry

    i managed to do it by adding a command button on the form then using the code

    HTML Code: 
    in the commandbutton_click section of the coding

  4. #4
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: prinitng userform

    it doesnt come out how i want it to, it comes out like it does if i was to print it from the vba editor, but my directopr seems to be happy enough with it looking like that, i just needed him to be able to print it without explaining how to go into the vba then printing it

    thank you Norie

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Changed userform combobox to listbox, unable to get userform to retrieve datasheet values
    By dragonabsurdum in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2013, 01:38 PM
  2. [SOLVED] Open a userform from a userform, but preserve the info in the original userform
    By jfoerch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-25-2013, 02:38 PM
  3. [SOLVED] Copy Data loaded via Userform to a worksheet named in 1 field of the Userform
    By audax48 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2012, 01:44 PM
  4. userform is large.....how to use scrollbar of userform to show all of the userform
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2010, 04:11 PM
  5. [SOLVED] Looping procedure calls userform; how to exit loop (via userform button)?
    By KR in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2005, 08:05 AM

Tags for this Thread

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