+ Reply to Thread
Results 1 to 2 of 2

Edit a selected Combobox with another userform

  1. #1
    Registered User
    Join Date
    06-28-2013
    Location
    London, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    69

    Edit a selected Combobox with another userform

    Hi all looking for some help with VBA code...

    Basically this is my issue: I have userform and with comboboxes. I have it set so that when you select "Other" in the "cmboProjectType" combobox another userform opens with the code below. What I want is to make this userform less specific. So instead of editing the "cmboProjectType" value exclusively it woul edit any combobox where the cursor is currently ( I wish to apply the add other value UserForm across multiple UserForms in my Workbook rather than making a userform for each combobox).

    I'm sure this can be done but I am not sure how. Any help would be greatly appreciated!

    Thanks,

    Wolfman

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Edit a selected Combobox with another userform

    rather than push the information to a specific combobox, as in the cmdOtherValueOK event, alter you code to pull the information from the txtOther. The code would need to be where the userform is currently being launched from. Also the cmdOtherCancel event should then only Hide the userform. This will allow you to read the information before unloading the userform
    Cheers
    Andy
    www.andypope.info

+ 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] Goto cell selected from userform combobox
    By escobf in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2013, 05:28 PM
  2. Edit Excel database through UserForm based on combobox Selection
    By surajitbose in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2012, 11:32 PM
  3. Determine Selected Item in a (Userform’s) ComboBox
    By StevenM in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2012, 09:07 AM
  4. Select item thru combobox to edit userform data
    By tvrm1963 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-08-2010, 04:04 PM
  5. Select item thru combobox to edit userform data
    By tvrm1963 in forum Excel General
    Replies: 1
    Last Post: 03-06-2010, 02:10 PM

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