Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Interior Color Macro
On line six below, the interior color should be set to 36 only when:
1. Cell B38 is selected (by the "GoTo" macro) 2. The worksheet is active. So, when another cell is selected, or the user leaves the worksheet, the cell returns to its original interior color. How should this code be modified? Sub GoToTFMChangeRequestWorksheetComptroller() Application.ScreenUpdating = False Sheets("TFM Change Request Worksheet").Select Application.Goto Reference:=Range("A38"), Scroll:=True Application.Goto Reference:=Range("B38"), Scroll:=False 'Places curser off screen Selection.Interior.ColorIndex = 36 ActiveWindow.Zoom = 100 Application.ScreenUpdating = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro to set cell interior color? | Excel Discussion (Misc queries) | |||
No Interior Color Macro | Excel Discussion (Misc queries) | |||
Sum all cells with interior color... | Excel Programming | |||
Print without Interior Color | Excel Discussion (Misc queries) | |||
Passing Back Color to Interior Color | Excel Programming |