+ Reply to Thread
Results 1 to 4 of 4

Drive scenarios with a combo box

  1. #1
    Registered User
    Join Date
    08-17-2012
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    37

    Drive scenarios with a combo box

    Hi guys,

    I got a combo box (name: ComboBox1 ) with 3 options : A,B,C
    image1.png

    Each option has it own scenario.

    In the sheet code I got:
    Please Login or Register  to view this content.
    Everything works, but I still have the same error that show up everytime:
    Error 1004 : Show method of scenario class failed
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor
    Join Date
    09-30-2018
    Location
    Vlaams Brabant Belgium
    MS-Off Ver
    365
    Posts
    456

    Re: Drive scenarios with a combo box

    Hi 11help11,

    You need to make sure your Scenarios are added to the sheet

    like microsoft information shows here:
    https://docs.microsoft.com/nl-nl/off...%3D-2147217396


    Grtz

  3. #3
    Registered User
    Join Date
    08-17-2012
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: Drive scenarios with a combo box

    Hi joske820,

    Thanks for your quick reply, but what do you mean by : Added to the sheet.
    My scenarios are created and they are working well even with the combo box but I still have the message everythime I change the value in my combo box.
    scenario.png



    Note for your information only : I changed my scenario from A,B,C to 3,4,5

  4. #4
    Registered User
    Join Date
    08-17-2012
    Location
    canada
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: Drive scenarios with a combo box

    Note:
    My error is : show methode of scenario class failed

    Not: unable to get scenarios property of the worksheet class

+ 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] Find the drive letter of a mapped network drive
    By billyjo182 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-07-2019, 10:41 PM
  2. Using combo-box to view many scenarios
    By amsa000 in forum Excel General
    Replies: 0
    Last Post: 02-12-2018, 03:33 AM
  3. Need to tie combo box selection to drive a data filter
    By dlbarr1954 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 06-06-2017, 08:40 PM
  4. Display Scenarios using a Combo Box
    By Woopy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-23-2014, 12:54 AM
  5. [SOLVED] Need to bypass the drive letter (i.e C Drive) and use the drive name
    By AndyMan81 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-17-2013, 04:48 PM
  6. VBA to display scenarios based on Combo Box Selection
    By judasdac in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-07-2012, 05:37 AM
  7. Replies: 0
    Last Post: 07-12-2011, 11:30 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