conditional formatting using lookup up in a different sheet
"ChrisO" wrote in message
...
Bob,
Many thanks for your reply. I'm afraid I'm a complete novice when it comes
to macros and VBA, so can you tell me:
- how do I "install" this code?
Go to the VBIDE (Alt-F11)
Menu InsertModule
Copy the code in
- are the names "sheet1" and "sheet2" in the code the name on the sheet
tabs
or the sheet numbers
names on the tabs
- how do I specify the range of cells to lookup in sheet 2 and update in
sheet 1 to limit this to certain areas in each sheet?
The range to update, change UsedRange to Range("H1:M10") or whatever is
appropriate
It looks up all cells on sheet2, so don't change anything here
- how do I run it?
In Excel, menu ToolsMacroMacros... select the name from the list, and
click Run
|