+ Reply to Thread
Results 1 to 3 of 3

Editing data in userform and transferring back into row it came from

  1. #1
    Registered User
    Join Date
    08-06-2014
    Location
    Oxfordshire, England
    MS-Off Ver
    Microsift Office Professional Plus 2010
    Posts
    2

    Editing data in userform and transferring back into row it came from

    Hi All,

    I have a masssive lot of VBA coding to do and am fading fast. I have been tasked with creating a 'database' of project data (from two departments), in Excel using VBA with multiple Userforms. There are three spreadsheets 1) one with project data info on, 2) main spreadsheet that all userforms transfer their data too, 3) spreadsheet of all completed projects. Users will add and edit data.

    I have so far through searching the internet and reading been able to create all userforms for entering and editing data. I am currently seeking help in transferring ListBox data to spreadsheet, but I also need help with how to edit data pulled out of a spreadsheet into a userform - edited by the user (including ListBox entries), and then transfered back into the row it came from.

    I using the below coding to pull what data I can so far from spreadsheet. But there are two things i need to find out/know please. 1) how do I pull data from a spreadsheet into a listbox and change it in a UserForm 2) how do I then transfer all this UserForm data back into the row of the spreadsheet it came from. I am really struggling as there is so much code out there, and my brain is nerly full.

    Please Login or Register  to view this content.
    Many thanks
    Last edited by NellieNoggs; 09-08-2014 at 04:12 AM. Reason: Add code tagse

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,008

    Re: Editing data in userform and transferring back into row it came from

    If I may make a couple of suggestions:
    1. Please use code tags when posting code. It's more legible and is actually one of the forum rules.
    2. Please post a sample workbook. It's not at all clear, at least to me, what exactly you have and what you want. This code appears to populate the same controls in a loop and I can't see the point of that.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Editing data in userform and transferring back into row it came from

    Just use excels find, record a macro doing it, then look at the code, searching for your textbox value.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

+ 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] Need help transferring data from a userform to worksheet depending on a combobox selection
    By Annamarie in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-08-2014, 11:11 AM
  2. [SOLVED] Re :Userform Data not Transferring to Worksheet
    By Janto724 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-13-2013, 10:57 AM
  3. Editing Data Through A Userform
    By WoodsyMP5K in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2012, 02:30 AM
  4. Transferring Data from Userform Listbox to Drop-down list in Worksheet
    By f5awp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-30-2011, 12:22 AM
  5. UserForm transferring data
    By mariapata1974 in forum Excel General
    Replies: 8
    Last Post: 03-28-2010, 11:18 AM

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