The Macro Recorder often returns Code that works today…but may not work every day. Although Pete sent in a question about using a Loop, Bill had to comment on Code designed to select an entire Table. With a few quick changes, Bill’s new Code shortens 7 lines of the Recorded Code into 1 line – but it will only work if the ‘Shape’ of the Data is matches the imagine that Bill has in his head. Today, in Episode #1656, Bill presents: ‘A Long Story About What Can Go Wrong with Recorded Code’.

[youtube=http://youtube.com/watch?v=woGPRESOdQ0]

"VBA and Macros: Excel 2010" by Bill Jelen and Tracy Syrstad…Today’s Podcast topic may be found in Bill’s book, “VBA and Macros: Microsoft Excel 2010” by Bill Jelen and Tracy Syrstad. The fastest, best way to go beyond the Macro Recorder and move up the Excel VBA learning curve…Includes crucial information on making Excel 2010 VBA code work with older versions.

“The Learn Excel from MrExcel Podcast Series”

MrExcel.com — Your One Stop for Excel Tips and Solutions. Visit us today!