+ Reply to Thread
Results 1 to 5 of 5

Displaying a print menu of worksheets

  1. #1
    Registered User
    Join Date
    02-04-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    2

    Displaying a print menu of worksheets

    Hello,

    I have een little problem with a excel file. In the excel file is a VBA code that is combined with a button if someone click on the button a little menu shows with a multiple options of sheets that can be printed. Only the problem is when i hide the sheets the code doesn't see them anymore and the only i can print is the page where the button is placed.

    Here do you have de code:

    Please Login or Register  to view this content.
    Can someone help me with this problem. I have this code from someone else but i need to change it to my wishes.

    I'll hope you guys can help me.
    Last edited by alansidman; 02-04-2014 at 10:10 AM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,908

    Re: Displaying a print menu of worksheets

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    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



    (Because you are new to the forum, I have added them for you today. Please read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Displaying a print menu of worksheets

    I think this should work

    Please Login or Register  to view this content.
    If you are pleased with a member's answer then use the Star icon to rate it.

  4. #4
    Registered User
    Join Date
    02-04-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Displaying a print menu of worksheets

    Hi Buran,

    You are the best :-). This works like a charm.

  5. #5
    Forum Expert
    Join Date
    06-25-2009
    Location
    Sofia, Bulgaria, EU
    MS-Off Ver
    Excel 2003-2013
    Posts
    1,290

    Re: Displaying a print menu of worksheets

    great. Don't forget to mark the thread as SOLVED if it's what you wanted :-)

+ 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 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
  2. Display a menu of worksheets to print out
    By narrowgate88 in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 10-24-2010, 02:25 PM
  3. Print job from pull down menu
    By ravynfaire in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-30-2009, 04:49 PM
  4. print menu
    By Murch in forum Excel General
    Replies: 1
    Last Post: 08-31-2006, 05:39 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