Hi TexasBobcat,
Please don't enter duplicate threads. You will get an inferior answer, and responders will probably get frusrated, confused, and will not answer.
Try the following Macro based on the color codes in your SpreadSheet.
All the cells in Columns A thru E that contain data must be of the proper color.
Delete your original Macro. Two macros with the same name will cause problems, and may cause Excel to Freeze. Put this macro in an Ordinary Code module such as Module1.
To add a module in the VBA Editor:
a. 'Left Click' on any cell in the Excel Spreadsheet.
b. ALT-F11 to get to VBA.
c. CTRL-R to get project explorer (if it isn't already showing).
d. 'Right Click' on the Project or on any module in 'Project Explorer'.
e. Insert > Module
f. To rename the Module press 'F4' to access the 'Properties' Window (if the 'Properties' Window is not already visible)
g. To the right of the (Name) Property, type in the New Name. The name MUST be unique and VBA must be DORMANT (i.e. no Macros running).
Lewis
Bookmarks