+ Reply to Thread
Results 1 to 5 of 5

VBA Userform "Edit" row?

  1. #1
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    VBA Userform "Edit" row?

    In the file is currently an "Add" button, where somebody can enter info about a client, and then after clicking "finish" the info is added to the bottom of the worksheet.

    Is there a way to make it so that also there is an "Edit" button, so that somebody can mouse over a row, and then click Edit, and all of the info for that row gets populated back into the form, can be updated and then the updated info gets put back onto the sheet?

  2. #2
    Valued Forum Contributor dotchiejack's Avatar
    Join Date
    05-21-2015
    Location
    Antwerp,Belgium
    MS-Off Ver
    2016
    Posts
    507

    Re: VBA Userform "Edit" row?

    Is there a way to make it so that also there is an "Edit" button
    Yes it can but not without an small example of your excel file.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,295

    Re: VBA Userform "Edit" row?

    Attached a quick demo of one method of sheet data entry.
    It has selection by combobox or listbox, to edit select name then update after alterations.
    To add new, clear form and enter detail and press new, data should sort and store alphabetically.
    Attached Files Attached Files

  4. #4
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    Re: VBA Userform "Edit" row?

    Quote Originally Posted by dotchiejack View Post
    Yes it can but not without an small example of your excel file.
    Attached is what I have so far. Ideally, what I would like to be able to do is click on cell (for example) B4, and have the info of that person populated into the Userform for editing, and then after it is updated then the info is updated on Row 4

    Etc.
    Attached Files Attached Files

  5. #5
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    Re: VBA Userform "Edit" row?

    Quote Originally Posted by torachan View Post
    Attached a quick demo of one method of sheet data entry.
    It has selection by combobox or listbox, to edit select name then update after alterations.
    To add new, clear form and enter detail and press new, data should sort and store alphabetically.
    Dotchie, what you have is kind of similar to what I would want to be able to do?

    I want it to be an "Edit Row" button - so the user can click in any (populated) cell in a row, click the button, and then a userform will come up, similar to "Create new entry" form, but with the active row's data in the text boxes, list boxes etc. When they click "OK" it will update the data for that row.
    Last edited by snuffnchess; 04-22-2019 at 06:05 PM.

+ 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] Edit chart seriescollection within a "With" - "End With" Block
    By gipsyfkls14 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-29-2018, 09:18 PM
  2. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  3. [QUESTION/HELP-VBA/MACROS]Auto Edit Link from "Sheet1" to "Sheet2"
    By iphone3g in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-24-2016, 02:49 AM
  4. Userform - problem command "save" (i.e. Edit/modify) button
    By mariec_06 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-20-2015, 01:13 AM
  5. Make "Edit" mode default, rather than "Enter"?
    By Greg Boettcher in forum Excel General
    Replies: 1
    Last Post: 07-26-2006, 08:50 PM
  6. How do I get "file" tab to click on, it starts with "edit"
    By JMD_Phoenix in forum Excel General
    Replies: 1
    Last Post: 01-22-2006, 10:50 PM
  7. Replies: 0
    Last Post: 08-24-2005, 04:05 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