Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default highlighting cell


Hi,
how do I set the color of a sell using VB? please let me know. Thanks.


--
owl527
------------------------------------------------------------------------
owl527's Profile: http://www.excelforum.com/member.php...o&userid=20916
View this thread: http://www.excelforum.com/showthread...hreadid=488595

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default highlighting cell

See ColorIndex property in XL Help!
Regards,
Stefi


€žowl527€ť ezt Ă*rta:


Hi,
how do I set the color of a sell using VB? please let me know. Thanks.


--
owl527
------------------------------------------------------------------------
owl527's Profile: http://www.excelforum.com/member.php...o&userid=20916
View this thread: http://www.excelforum.com/showthread...hreadid=488595


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default highlighting cell

and the range INterior property

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Stefi" wrote in message
...
See ColorIndex property in XL Help!
Regards,
Stefi


"owl527" ezt írta:


Hi,
how do I set the color of a sell using VB? please let me know. Thanks.


--
owl527
------------------------------------------------------------------------
owl527's Profile:

http://www.excelforum.com/member.php...o&userid=20916
View this thread:

http://www.excelforum.com/showthread...hreadid=488595




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default highlighting cell

Try something like

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

See ColorIndex in Help for more information.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"owl527"
wrote in message
...

Hi,
how do I set the color of a sell using VB? please let me know.
Thanks.


--
owl527
------------------------------------------------------------------------
owl527's Profile:
http://www.excelforum.com/member.php...o&userid=20916
View this thread:
http://www.excelforum.com/showthread...hreadid=488595



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default highlighting cell

Another tip.

Turn on the macro recorder in tools=Macro=Record a New Macro

then select the cell and change the color manually.

then turn off the macro recorder and look at the recorded code.

--
Regards,
Tom Ogilvy


"owl527" wrote in
message ...

Hi,
how do I set the color of a sell using VB? please let me know. Thanks.


--
owl527
------------------------------------------------------------------------
owl527's Profile:

http://www.excelforum.com/member.php...o&userid=20916
View this thread: http://www.excelforum.com/showthread...hreadid=488595



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
highlighting cell ganga Excel Discussion (Misc queries) 1 July 21st 09 10:01 PM
Highlighting a cell jlojones821 Excel Discussion (Misc queries) 6 July 14th 08 06:53 PM
Highlighting cell Orlando Excel Discussion (Misc queries) 2 September 25th 07 11:07 PM
Cell Highlighting perezianda Excel Discussion (Misc queries) 3 October 20th 06 09:26 AM
Highlighting blanks via GO TO SPECIAL is not highlighting blank cells - HELP, I'm totally stuck. Jamie Furlong Excel Discussion (Misc queries) 6 August 28th 05 09:27 PM


All times are GMT +1. The time now is 09:01 PM.

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"