+ Reply to Thread
Results 1 to 3 of 3

Excel macro recording DOES NOT record actions but results! Useless.

  1. #1
    Registered User
    Join Date
    11-15-2003
    Posts
    3

    Angry Excel macro recording DOES NOT record actions but results! Useless.

    I am very puzzled by the Excel macro recording mechanism. I am trying to record a sequence of actions that I use to edit a cell. For example, I have many cells like these

    Please Login or Register  to view this content.
    So the sequence is: F2 (to edit cell); Home (to go to first character); Ctrl+Shift+Right arrow (to select number); Del (to remove number); ENTER (to go to cell below).
    It works, manually, but when I record it, that stupid macro mechanism ignores the actions and simply stores the content of cell. So if I apply the macro to another cell it simply stores in that cell the same value, making all cells the same! I am really astonished. It makes no sense to record the results, but the actions that, applied to different cells, generates different results!
    Practically, instead of

    Please Login or Register  to view this content.
    I get

    Please Login or Register  to view this content.
    Last edited by dejudicibus; 08-26-2015 at 04:17 AM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,626

    Re: Excel macro recording DOES NOT record actions but results! Useless.

    Unfortumately macro recorder does not record actions within cells. So instead of relying on what is recorded, you have to write code yourself. for instance such simple code shall do:
    Please Login or Register  to view this content.
    Select a starting cell (but not go into edit mode -> so no F2 key) and run the above macro
    Best Regards,

    Kaper

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Excel macro recording DOES NOT record actions but results! Useless.

    When you enter edit mode, which is what will happen when you press F2, code execution will stop as will the macro recorder.

    Also, the macro recorder will not produce code with a loop.
    If posting code please use code tags, see here.

+ 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. Recording results in new record
    By donaldc88 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-31-2014, 04:50 PM
  2. Recording actions / scripting.
    By TheNameless122 in forum Excel General
    Replies: 11
    Last Post: 07-07-2010, 09:54 AM
  3. Excel 2007 : Record Macro not recording...
    By gblackiv in forum Excel General
    Replies: 1
    Last Post: 10-22-2008, 01:19 PM
  4. Replies: 2
    Last Post: 10-28-2007, 02:35 PM
  5. Recording Mouse Actions in VBA
    By iambalrog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-11-2006, 09:04 AM
  6. Record recording
    By cdixon in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-20-2005, 09:30 PM
  7. [SOLVED] recording the date when record was entered in cell in Excel
    By mcgoo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2005, 07:06 PM

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