+ Reply to Thread
Results 1 to 9 of 9

Editing Userform Data

  1. #1
    Registered User
    Join Date
    07-08-2015
    Location
    Richmond, Virginia
    MS-Off Ver
    Office 13
    Posts
    37

    Editing Userform Data

    I have a userform that highlights a block of dates on a calendar in a certain color based on the event that the user chooses. I want to figure out a way to double click on the block of dates that was highlighted and edit them (in a case that someone accidentally enters the wrong dates they can double click the highlighted cells and the userform reopens and they can enter the correct dates and when they click save the change will be updated on the sheet). My current code is as follows:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Editing Userform Data

    How about this...Double click any cell and the userform will show.
    Please Login or Register  to view this content.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    04-20-2015
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    312

    Re: Editing Userform Data

    please attach a workbook with the working userform like this it will be very hard to give advice

  4. #4
    Registered User
    Join Date
    07-08-2015
    Location
    Richmond, Virginia
    MS-Off Ver
    Office 13
    Posts
    37

    Re: Editing Userform Data

    Quote Originally Posted by gmr4evr1 View Post
    How about this...Double click any cell and the userform will show.
    Please Login or Register  to view this content.
    Opening the userform from any cell is only useful if I can edit the data that was entered in via the userform.

  5. #5
    Registered User
    Join Date
    07-08-2015
    Location
    Richmond, Virginia
    MS-Off Ver
    Office 13
    Posts
    37

    Re: Editing Userform Data

    Quote Originally Posted by LordLoki View Post
    please attach a workbook with the working userform like this it will be very hard to give advice
    I cannot attach the workbook it contains sensitive material. I know its hard to give advice without looking at it first hand, but any help or thoughts are appreciated and I can do trial and error from there. Thanks.

  6. #6
    Forum Contributor
    Join Date
    04-20-2015
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    312

    Re: Editing Userform Data

    Quote Originally Posted by cmoore24 View Post
    Opening the userform from any cell is only useful if I can edit the data that was entered in via the userform.
    Thats what i thought :D
    But to answer that is much easier with the workbook :D
    Can you not just make a copy and make some mocup data?
    Its just that the userform part is a bit hard to imagine when you not have it in front if you

  7. #7
    Registered User
    Join Date
    07-08-2015
    Location
    Richmond, Virginia
    MS-Off Ver
    Office 13
    Posts
    37

    Re: Editing Userform Data

    Quote Originally Posted by LordLoki View Post
    Thats what i thought :D
    But to answer that is much easier with the workbook :D
    I know and I'm sorry, but to even post a workbook with dummy info would take more time to create than what I have to try and get done what I need to. Is there some kind of general function where I can edit data that's already entered?

  8. #8
    Forum Contributor
    Join Date
    04-20-2015
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    312

    Re: Editing Userform Data

    no there is no such thing.
    Thats why i would like to see how you write the Data exactly to see how to approach your problem.
    you would need to write that by your self. here is what i do in a workbook that does something similiar.

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    07-08-2015
    Location
    Richmond, Virginia
    MS-Off Ver
    Office 13
    Posts
    37

    Re: Editing Userform Data

    planner (2).jpg

    Not sure if this will help but its a screen pic of what my empty sheet would look like. Down column A from row 11 through 16 are events that are blocked off in different colors (done manually). Down column A from row 17 down are a list of names. When a name is double clicked, the userform opens. The userform includes a combo box with a list of the events to choose from, a text box to enter the start date of someones trip and a text box to enter the end of someones trip. When this information is entered, the colored blocks you see on the right of column A are automatically created to signify that the person you clicked on is at that event during those dates. Now once that is created, I just need a way to double click on one of those colored blocks (for example click the red block on row 19 and be able to change the dates). If this isn't enough to go on, then thanks anyway for your help I appreciate you being patient with 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. Userform Data Entry (and editing previous data and generating report)
    By chubbyjenz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-25-2014, 11:43 AM
  2. Editing data in userform and transferring back into row it came from
    By NellieNoggs in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2014, 06:53 AM
  3. [SOLVED] Editing Existing Data in a column using a userform.
    By chubbyjenz in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 07-18-2014, 02:26 PM
  4. Loading and Editing Data from Userform
    By Gazmon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-30-2013, 07:49 PM
  5. Editing & replacing worksheet data using VB userform
    By Beam_me_up in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-09-2012, 06:22 PM
  6. Editing Data Through A Userform
    By WoodsyMP5K in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2012, 02:30 AM
  7. Editing a code that sorts data for Dropdown in a UserForm
    By stojko89 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-16-2011, 08:06 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