+ Reply to Thread
Results 1 to 3 of 3

VBA coding to print more than 1 sheets of worksheets in 1 go using only 1 button.

  1. #1
    Registered User
    Join Date
    12-30-2018
    Location
    singapore
    MS-Off Ver
    2013
    Posts
    5

    VBA coding to print more than 1 sheets of worksheets in 1 go using only 1 button.

    Hi all,

    Please refer to the following codings.

    Please Login or Register  to view this content.
    the above codings only manage to print 1 sheet for my worksheet.
    I have a total of 3 sheets on my worksheet.
    I currently used 3 buttons to print all 3 sheets.
    How do I alter the codes to print all my 3 sheets in 1 go using only 1 button?
    Do advise on this.

    Much Thanks,
    Regards,
    Eugene
    Last edited by lbceug79; 04-08-2020 at 02:17 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,937

    Re: VBA coding to print more than 1 sheets of worksheets in 1 go using only 1 button.

    Administrative Note:

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-30-2018
    Location
    singapore
    MS-Off Ver
    2013
    Posts
    5

    Re: VBA coding to print more than 1 sheets of worksheets in 1 go using only 1 button.

    Hi mdm,

    Sorry for this little error made...
    I had actually manage to resolved this issue myself. i will proceed to close this post.

    Actually for those who also looking to solve this issue.
    All i did was added an ARRAY("sheet 1", "sheet 2") in sheets() and it works.

    For future posts i will surely add the tag. As i was away from the forum for quite sometime, so i had forgotten this part of post, my bad.

    Thanks for the advise mod, will take note on future posts.

    Regards,
    Eugene
    Last edited by lbceug79; 04-08-2020 at 02:15 AM.

+ 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 Button for several sheets
    By spencer695 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2019, 02:13 PM
  2. Use Excel Print Button to print all worksheets in workbook and then ungroup
    By Smudge72 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-13-2016, 06:08 PM
  3. [SOLVED] In need of help regarding combo box coding and button coding (Access form project)
    By mailblade in forum Access Tables & Databases
    Replies: 2
    Last Post: 01-09-2016, 01:34 AM
  4. VBA code to create command button. Print all sheets then delete command button.
    By Declamatory in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-15-2015, 05:18 PM
  5. Print checked worksheets with sheets own print macro
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-22-2013, 10:35 AM
  6. How do I create a button to print several worksheets in Excel?
    By David in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-26-2006, 02:25 PM
  7. [SOLVED] Create a Button that will print sheets
    By Helen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-14-2005, 10:10 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