Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Automation & Cell Color
Message
De
06/02/2003 10:54:23
 
 
À
06/02/2003 09:15:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00749775
Message ID:
00749901
Vues:
27
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform