+ Reply to Thread
Results 1 to 3 of 3

msgbox/inputbox with worksheet name radio buttons?

  1. #1
    Registered User
    Join Date
    06-03-2008
    Posts
    35

    msgbox/inputbox with worksheet name radio buttons?

    Is there a way in VBA to create an input box with a radio button list of all the worksheets/tabs available in the current workbook?

    I want the user to select just one of the tabs without having to type in the title of the label exactly. This normally wouldn't be a problem, but there are so many tabs in this particular workbook that you'd have to memorize the label name, as you might not be able to see it without scrolling (which is disabled due to Application.ScreenUpdating = False) to the right or left.

    Any solution(s) would be welcomed. Thanks!

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon compulsiveguile

    There is no ready made solution to do this within VBA - you're going to have to programatically build a userform and then populate it, which can be done, but is no easy task.

    However, John Walkenbach has built a wrapper routine which he discusses here, and the attached file I have built using the downloaded workbook he makes available here.

    HTH

    DominicB
    Attached Files Attached Files
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    06-03-2008
    Posts
    35
    I figured it might be a little complicated...

    I might check into what you posted a bit later. As for now, I guess what I have will have to suffice.

+ 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