HomeCourse ScheduleCourse ListContact UsSearch
  Register

Each Excel Workbook has a Colors Collection.  The collection is a fixed size set at 56.    The Interior Object, which is a subsystem of a Range Object has a ColorIndex Property, which ranges from 1 to 56.  The color that is associated with this property can be visualized via Menus at Tools/Options/Color as follows:

The colors in this collection can be changed on the Excel side by clicking on the Modify... button and changing the color of a selected color, or in VBA it can be changed by using the RGB function to write to the Color property of the selected member of the collection as follows:

Each of these 4 subprocedures can be assigned to a button of the worksheet and tested as follows:

Give it a try to sharpen up your VBA skills.     

Also, please consider taking a week off and joining me in the 13th Annual Tahoe Workshop, which is scheduled for January 21-25, 2008.   This year, we will be offering both Spreadsheet Aided Engineering, and Advanced Spreadsheet Aided Engineering for Alumni.   In both workshops, there is a scheduled time during the day for skiing.  Mornings for the alumni, and afternoons for those taking Spreadsheet Aided Engineering.   Hope to see you there, and please pass this information on to others in your organization who wish to sharpen up their Excel/VBA skills and applications to engineering. 

Tom


 
(818) 325-8095 Telephone
(866) 272-8095 Toll Free
(818) 907-9437 Fax
PO Box 80789
Rancho Santa Margarita, CA 92688
rss
Newsletters/Tidbits

View Course Brochures

Press Releases

Instructors - Submit Course

Featured Courses

Spreadsheet Aided Engineering
Instructor: Dr. Tom R. Mincer

view

Advanced Spreadsheet Aided Engineering
Instructor: Dr. Tom R. Mincer

view

Avionics & Weapons System Flight Test
Instructor: Robert McShea

view

Explosives Technology & Modeling
Instructor: Dr. Charles Mader

view

Design & Development of Automotive Air Conditioning Systems
Instructor: Al Kargilis, P.E.

view

Design & Development of Automotive Engine Cooling Systems
Instructor: Al Kargilis, P.E.

view

SolidWorks Excel Integration using VBA-API
Instructor: Chris Stimson, M.S.

view

Spreadsheet Aided Data Plotting & Analysis
Instructor: Dr. Tom R. Mincer

view
PEI Certificate Programs view
link © Copyright 2001-2008 - Professional Education International