Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Automation & Cell Color
Message
From
06/02/2003 10:54:23
 
 
To
06/02/2003 09:15:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00749775
Message ID:
00749901
Views:
26
Hilmar,

I asked some how to create a macro. I formatted a cell with a background color of RED. Here is what the code says:

Range("A1").Select
With Selection.Interior
.ColorIndex = 3
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
End With

So I tried:

.RANGE( "A1" ).Interior.ColorIndex = 3

This worked. So I did the same for all the other colors I'll need.

Thanks for the help.
Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform