+ Reply to Thread
Results 1 to 6 of 6

learning from vba recorder

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    learning from vba recorder

    Hello. I'm improving my vba skills by having the recorder just record my usual actions in excel. I'm not sure if this is good though, because some of the code looks weird. For example, when I input a date it goes ActiveCell.FormulaR1C1 = "12/31/2008". Why does it do formula? Shouldn't it be value?

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,938

    Re: learning from vba recorder

    In my experience the VBA recorder is good for "quick and dirty" code. It is by no means brilliant at code writing.
    You can learn a lot from it. Just a shame much of that will be how NOT to do something the easy and/or efficient way.

    BSB.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: learning from vba recorder

    IMO, the macro recorder is a gift from God for learning VBA and the Excel object model. Try learning the Outlook object model without one.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,694

    Re: learning from vba recorder

    Re "gift from God"

    That's the first time I've seen Bill Gates being called that!!!!!!!!!!!

  5. #5
    Forum Contributor S O's Avatar
    Join Date
    06-25-2015
    Location
    England
    MS-Off Ver
    Office 2010 + 2013 + 2016
    Posts
    103

    Re: learning from vba recorder

    Quote Originally Posted by shg
    Try learning the Outlook object model without one.
    Here, here!

  6. #6
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: learning from vba recorder

    Ok, then I think I'll keep it open when I'm working in excel. Helps me get more accustomed to code.

+ 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. Replies: 8
    Last Post: 02-12-2020, 02:47 AM
  2. Learning VBA - Suggestion for Beginners Learning Curve
    By sighlent1 in forum Excel General
    Replies: 1
    Last Post: 08-26-2010, 12:58 PM
  3. [SOLVED] MACRO RECORDER
    By ravi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-02-2005, 05:05 AM
  4. Macro recorder
    By Fossil_Rock in forum Excel General
    Replies: 1
    Last Post: 07-30-2005, 04:05 PM
  5. [SOLVED] Macro Recorder
    By jhahes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-06-2005, 04:58 PM

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