+ Reply to Thread
Results 1 to 5 of 5

How to put into userform that can select number of page to print using userform?

  1. #1
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    How to put into userform that can select number of page to print using userform?

    Hi Guys,

    How to put into userform that can select number of page to print using userform?

    I attched sample file with explanation of desired output.>>>Sample userform.xlsm

    Kindly help me build userform.
    Click * below if this answer helped

  2. #2
    Registered User
    Join Date
    11-26-2013
    Location
    Norway
    MS-Off Ver
    Excel 2013
    Posts
    67

    Re: How to put into userform that can select number of page to print using userform?

    Hi

    Do you want to print the same page numerous times? Or do you want to select pages to print? (Eg. print page 6 - 13)
    Because your code appears to do the first, but your question seems to be the latter.

    Anyway, try this:
    Please Login or Register  to view this content.
    Or this:
    Please Login or Register  to view this content.
    Best regards
    Per Erik
    Best regards

    Per Erik Midtr?d

  3. #3
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: How to put into userform that can select number of page to print using userform?

    Hi,

    I want to print this several times. By changing value of a3 the page will be differ. This userform range is intended for cell a3. Using my old code i can print 1-10 simultaneously. What i want is to use userfor to select what number to be printed. Ex. I want to print only 1 - 3 i would like to en enter in user form 1 to 3.

    I have not try your code yet as don't have printer here

  4. #4
    Registered User
    Join Date
    11-26-2013
    Location
    Norway
    MS-Off Ver
    Excel 2013
    Posts
    67

    Re: How to put into userform that can select number of page to print using userform?

    OK, I think I've got it:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: How to put into userform that can select number of page to print using userform?

    Hi,

    Thank you for your ideas. I made it correct now. I guess you miss the value of "r" on your 3rd vba code.

    Your first VBA code is correct except the value of range.

    Please Login or Register  to view this content.
    Anyway thank you very much, you help me a lot.

    I will add your reputation.


+ 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. Print all pages in a Multi page userform
    By Alro in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-24-2020, 03:54 PM
  2. [SOLVED] REfocus on userform after print command within the userform
    By chrisjames25 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2013, 02:29 PM
  3. [SOLVED] Debug Print select worksheets userform
    By cammyjane10 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-29-2013, 01:59 PM
  4. Print Userform: Control number of Copies Printed
    By yunesm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-15-2010, 08:34 AM
  5. [SOLVED] How to print a page of a multipage userform
    By Jean-Pierre D via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2005, 01:05 PM

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