+ Reply to Thread
Results 1 to 3 of 3

Getting and Modifying data from a specific row, within a sheet with a Userform

  1. #1
    Registered User
    Join Date
    12-16-2013
    Location
    London, England
    MS-Off Ver
    MSO 2010
    Posts
    52

    Question Getting and Modifying data from a specific row, within a sheet with a Userform

    I hope someone can help.

    I have an excel sheet with a few buttons which open up separate user forms:

    The first button "Add Exhibitor" works by bringing up a user form which enters data into the separate excel sheet called amends in the next available row, the data is initially selected by a stand number which if it already exists in the "amends" sheets brings up an error.

    The second button "Modify Exhibitor" is what i am having the problem with. When the user clicks this button it brings up an identical form but for modification. What i need it to do is when the user selects the stand number in the drop down box: For example: H1-A-01, i need it to pull the data from the row in the "amends" data sheet which matches that stand number and put it into the user form so the user can modify and make changes, i would ideally like to be able to track these changes as well.

    I am new to VBA and have tried many things so far online, i have managed to get the company name from the correct row and column to work but i cant figure out how i did it or how to make the rest of the data do the same?

    I hope someone can please help, this is the last thing i need to do to complete my project.

    The code i am using is below & an example of the form with data removed can be downloaded from here: http://www.filedropper.com/test_49


    Unfortunately the file is too big to upload to the forum, please accept my apologies, this is also another problem i am having, i cant understand why the file is so large.

    Please Login or Register  to view this content.
    Thanks,

    Mike

  2. #2
    Registered User
    Join Date
    12-16-2013
    Location
    London, England
    MS-Off Ver
    MSO 2010
    Posts
    52

    Re: Getting and Modifying data from a specific row, within a sheet with a Userform

    Not one person can help me on this?

  3. #3
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Getting and Modifying data from a specific row, within a sheet with a Userform

    Hi there!

    your ComboBox8_Change() event should look like this:

    Please Login or Register  to view this content.
    and CommandButton1_Click event :

    Please Login or Register  to view this content.
    and for you to be able to aply modifications you should modify comboboxes property MatchRequired to false.
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

+ 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. VBA UserForm - Contact sheet; Using a ComboBox array to write data to specific column
    By willmason in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2014, 09:44 AM
  2. [SOLVED] Problem to tranfer userform's data in a specific sheet
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-25-2013, 01:13 PM
  3. Transfer data from UserForm to Specific Sheet...
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-07-2013, 10:26 PM
  4. Modifying Data in a Worksheet from a Userform
    By jason_kelly in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-03-2010, 09:26 AM
  5. Finding Specific Data and modifying it
    By Reggie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2005, 01:05 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