+ Reply to Thread
Results 1 to 3 of 3

Turning off excel's autodelete

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    San Jose, California
    MS-Off Ver
    Excel 2010
    Posts
    15

    Turning off excel's autodelete

    Hello, and thank you in advance for your help.
    Excel has a built in feature that deletes the previous character string in a cell if new data is entered.
    I am creating a user checklist form that adds in new data to a cell when a box is checkmarked, without deleting what was there in the first place. Therefore, I need to turn off this built in feature for just one cell.

    A sample of current code is:

    Private Sub a2_Click()
    Range("C2").Select
    ActiveCell = "a2"
    End Sub

    Private Sub b4_Click()
    Range("C2").Select
    ActiveCell = "b4"
    End Sub

    In this example, when the boxes "a2" and "b4" are checked, Cell "C2" should read "a2b4"

    Thank you very much for your time and help.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Turning off excel's autodelete

    You could use code like
    Please Login or Register  to view this content.
    BTW, when naming checkboxes, and other controls, its a good idea to give them a name that can't be confused with a cell address.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    06-22-2012
    Location
    San Jose, California
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Turning off excel's autodelete

    THANK YOU VERY MUCH. I don't think you know how much time and effort you have saved me.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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