+ Reply to Thread
Results 1 to 6 of 6

Add Delete Button To Macro

  1. #1
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    203

    Add Delete Button To Macro

    Add Delete Button To Macro
    Hi guys the following formula works great and if text is written over then it will put the original text back in automatically.

    only problem is if i hit delete on the keyboard it deletes it - i want to stop this delete button from working.

    any1 know how? please see macro belo


    Please Login or Register  to view this content.
    Last edited by Leith Ross; 06-20-2012 at 12:37 PM. Reason: Added Code Tags

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Add Delete Button To Macro

    Hello m_789,

    You can disable the Delete key using this code:
    Please Login or Register  to view this content.

    To reactivate the key use this code:
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    203

    Re: Add Delete Button To Macro

    hwo do i add this

  4. #4
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    203

    Re: Add Delete Button To Macro

    how do i add this on to the above formula

  5. #5
    Forum Contributor
    Join Date
    11-11-2010
    Location
    England
    MS-Off Ver
    Excel 2019
    Posts
    203

    Re: Add Delete Button To Macro

    how do i add this to the above macro
    Quote Originally Posted by Leith Ross View Post
    Hello m_789,

    You can disable the Delete key using this code:
    Please Login or Register  to view this content.

    To reactivate the key use this code:
    Please Login or Register  to view this content.

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Add Delete Button To Macro

    Hello m_789,

    Here is the macro with the changes added. Delete the old macro and replace it with this one.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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