+ Reply to Thread
Results 1 to 8 of 8

Excel Userform: Update cell with new data without overwriting existing data

  1. #1
    Registered User
    Join Date
    02-10-2016
    Location
    Anaheim, CA
    MS-Off Ver
    Excel 2010
    Posts
    20

    Question Excel Userform: Update cell with new data without overwriting existing data

    Hi there,

    I have a userform that contains a text box for comments and is routed to a specific cell in an excel sheet. There is another comments box on another userform that will prompt the user to add comments as well and that data needs to go to the same cell in the excel sheet.

    Is there a way that the userform can update the cell without over writing the existing data with a click of a command button? Also I would prefer if there is a blank line in between the existing and the new data.

    Thank you in advance for your help!

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Excel Userform: Update cell with new data without overwriting existing data

    Hi egrospe17

    Something like this perhaps...
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    02-10-2016
    Location
    Anaheim, CA
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Excel Userform: Update cell with new data without overwriting existing data

    Quote Originally Posted by jaslake View Post
    Hi egrospe17

    Something like this perhaps...
    Please Login or Register  to view this content.
    Perfect! That worked great!! thank you!

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Excel Userform: Update cell with new data without overwriting existing data

    You're welcome...glad I could help.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  5. #5
    Registered User
    Join Date
    02-10-2016
    Location
    Anaheim, CA
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Excel Userform: Update cell with new data without overwriting existing data

    Quote Originally Posted by jaslake View Post
    You're welcome...glad I could help.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Done for you jaslake - One more follow up question though... If I have multiple sheets in my workbook, how do I reference that in the code you provided? I just want to make sure it goes to the correct sheet. Thanks again!

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Excel Userform: Update cell with new data without overwriting existing data

    Hi egrospe17

    Change the Sheet Name as appropriate...
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    02-10-2016
    Location
    Anaheim, CA
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Excel Userform: Update cell with new data without overwriting existing data

    Thank you! Cheers!

  8. #8
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Excel Userform: Update cell with new data without overwriting existing data

    You're welcome...thanks for the Rep.

+ 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. Utilizing Get External Data without overwriting existing data
    By HGFireHazard in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-17-2015, 05:41 PM
  2. Copy data without overwriting existing data
    By pcdots in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-26-2014, 01:01 PM
  3. [SOLVED] Transfer data from one table in spreadsheet to another without overwriting existing data.
    By teh.format in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-25-2014, 09:52 AM
  4. Data Connection without overwriting existing data
    By ncassiday in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2013, 04:56 PM
  5. Macro to copy and paste data into database
    By kayoke in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 05:00 AM
  6. Replies: 2
    Last Post: 06-11-2012, 05:36 AM
  7. Overwriting existing data
    By KA_Analyst in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2007, 10:44 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