Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing Cell Backround from Marco


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.


--
davep1553
------------------------------------------------------------------------
davep1553's Profile: http://www.excelforum.com/member.php...o&userid=28517
View this thread: http://www.excelforum.com/showthread...hreadid=503751

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Changing Cell Backround from Marco

this would make a1 light blue

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

End Sub

--


Gary


"davep1553" wrote
in message ...

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.


--
davep1553
------------------------------------------------------------------------
davep1553's Profile:
http://www.excelforum.com/member.php...o&userid=28517
View this thread: http://www.excelforum.com/showthread...hreadid=503751



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
specify cell selection in a marco chubach Excel Discussion (Misc queries) 3 February 8th 07 11:47 PM
backround text Mr_Dusty Excel Discussion (Misc queries) 1 June 2nd 06 02:01 AM
How can you add a picture as a backround? sunshine Excel Discussion (Misc queries) 2 November 15th 05 06:54 PM
Printing a Backround Babtanian Excel Discussion (Misc queries) 1 March 23rd 05 10:41 PM
Trying to *simply* programmicly get a bmp file to be the plotarea backround Max Zweizig Excel Programming 0 January 7th 04 07:29 PM


All times are GMT +1. The time now is 09:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"