+ Reply to Thread
Results 1 to 5 of 5

userform opening on sheet2 but not showing combobox data values

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    userform opening on sheet2 but not showing combobox data values

    Hi,
    I have created dependent comboboxes in userform.
    The combobox data is on sheet1
    Data entry is on sheet2
    I have created another command button on sheet2 to open userform.
    It opens, but does not show comboboxes values

    Basically:
    I want sheet1 hidden ( which I have managed)
    Sheet2 for data entry ( which I have managed)
    And userform opens correctly on sheet2 from command button provided. ( Unable to achieve)

    Any help please

    Kind regards

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: userform opening on sheet2 but not showing combobox data values

    Hi, KK1234,

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Or at least give us a glimpse at your code.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: userform opening on sheet2 but not showing combobox data values

    Hi HaHoBe,

    Thanks for your prompt reply.
    I have attached the sample file as desired by you. Thanks for that again.
    I have explained everything in sheet1 and sheet2.

    Password for sheet1 is written on sheet1
    Hope you can help me.
    Many thanks
    Kind regards
    Attached Files Attached Files

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: userform opening on sheet2 but not showing combobox data values

    Hi, KK1234,

    I canīt find a need for unprotecting Sheet1 for the reading in Data. You mised to assign the cells to read in to relate to Sheet1, if Cells isnīt referenced with a sheet name it will always take the cells from the active sheet

    Behind the UserForm:
    Please Login or Register  to view this content.
    Ciao,
    Hoilger

  5. #5
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: userform opening on sheet2 but not showing combobox data values

    Thanks HaHoBe.
    I now understand it.
    Thanks for explanation.
    I indeed was making a mistake.
    Great help from you again. A perfect solution again.
    You also have helped me before many times.
    Thanks

+ 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] Userform combobox to populate RowSource for new values in combobox
    By Stratfordoaks in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-17-2013, 01:18 PM
  2. [SOLVED] Changed userform combobox to listbox, unable to get userform to retrieve datasheet values
    By dragonabsurdum in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2013, 01:38 PM
  3. [SOLVED] send data from userform combobox to userform combobox
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-18-2013, 04:47 PM
  4. [SOLVED] Using ComboBox to fill data in cells of sheet1 from sheet2
    By tiemann66 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2013, 12:48 PM
  5. UserForm ComboBox showing Date Serial
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-17-2010, 04:35 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