Bigger – Better – Brilliant!

Mansoor asked an interesting question for today’s New Widescreen Podcast. Can you assign a Color to each Unique Value in a Column, and then automatically re-use that Color when the same Value is entered. Bill understands that in order to perform the required spec, this operation will require a VBA Event Handler Macro to analyze each entry. However, the logic is similar to what you would use in Excel: use =MATCH() to figure out if the Value appears above. If the Value is found, then re-use the Color from the matching Cell. Otherwise, create a random Color using three =RANDBETWEEN() Functions. Follow Bill in Episode #1718 to see how the result is achieved and the Color Values are applied.

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

VBA and Macros Excel 2013 by Bill Jelen and Tracy SyrstadUse Excel® 2013 VBA and Macros to automate virtually any routine task, and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! You’ll discover macro techniques you won’t find anywhere else and learn how to create automated reports that are amazingly powerful and useful.

For more information on Excel 2010 VBA and Macros, check out…

Excel 2010 VBA and Macros, by Tracy Syrstad and Bill Jelen

VBA and Macros: Microsoft Excel 2010 – 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

Using Microsoft Excel 2010 VBA scripting features, Excel users can save dozens – or even hundreds – of hours per year. But most Excel users have never written a VBA script: many haven’t even used Excel’s built-in Macro Recorder.

“The Learn Excel from MrExcel Podcast Series”

Visit us: MrExcel.com for all of your Microsoft Excel Needs!