+ Reply to Thread
Results 1 to 8 of 8

Try to keep track what I typed in the cell

  1. #1
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Try to keep track what I typed in the cell

    Hello,

    I'm looking for a macro code that keep track what I typed in cell F5 and another code that when I click it will erase all the typing words.

    For example, When I type "Google" in F5, the word "Google" will appear on cell M1, then I typed another word in cell F5 like "Cake", the word "Cake" will appear on Cell M2. Then a code to erase all the words in M1 & M2.

    Thanks for your help

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Try to keep track what I typed in the cell

    This should work...

    Please Login or Register  to view this content.
    Paste code in a Sheet module
    • Where to paste code
    • Highlight macro to copy >> Ctrl + C >> Open your workbook
    • Right click on sheet tab >> View Code >> opens the Visual Basic Editor (VBE)
    • Ctrl + R >> opens the Project Explorer (if not already open on left side of screen)
    • Paste code >> Ctrl + V (right side of screen)
    • Alt + Q >> exits VBE and returns to Excel
    • Now simply make a change in target cell
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Try to keep track what I typed in the cell

    Hi Thank you for the code. However I have a table starting from row 9 until the end. If I use your code the row count will mess up with the table. Is there a way I want to limit the from range ("M1:M4")

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Try to keep track what I typed in the cell

    Sure...

    Change
    Please Login or Register  to view this content.
    To
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Try to keep track what I typed in the cell

    I'm sorry to change this. Instead inserting the typing words in column M1 to M3. Can we switch to M1, then N1, then O1?

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Try to keep track what I typed in the cell

    No problem...

    Try...

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    07-16-2012
    Location
    Fort Worth, Texas
    MS-Off Ver
    Excel 2010
    Posts
    378

    Re: Try to keep track what I typed in the cell

    Thank you, it worked great!

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: Try to keep track what I typed in the cell

    You are very welcome and thanks for the feedback

+ 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