Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Changing Cell Backround from Marco

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
davep1553 - 22 Jan 2006 08:06 GMT
I need to know the command(s) to change the backround color of a cell
from a VBA marco.

Not Important but I feel like typing
I'm writing code into the change event of a spreed sheet to automaticly
compare a few dates refer to when things have happened and if they get
too far off make a cell red so it's clear I should get the info to
update this.

Signature

davep1553

Gary Keramidas - 22 Jan 2006 08:27 GMT
this would make a1 light blue

Sub test()
Range("a1").Interior.ColorIndex = 37

End Sub

Signature

Gary

> I need to know the command(s) to change the backround color of a cell
> from a VBA marco.
[quoted text clipped - 4 lines]
> too far off make a cell red so it's clear I should get the info to
> update this.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.