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

To Anyone,

I'm changing the value of a cell in a table to 3 using the working code
<snippet below ...
I'd like to also change the cell's color to TAN (40) at the same time in my
loop ...

QUESTION: Can someone advise how to reference the cell's interior color and
change it to TAN at the same time?
--------------------------------------------
' Assign the number 3 to the cell
shtMaster.Range("INITIALS_Base").Offset(Oper_Init, Day).Value = 3

Thanks,

Jim Pellechi



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default Interior Cell color

One way:

With shtMaster.Range("INITIALS_Base").Offset(Oper_Init, Day)
.Value = 3
.Interior.ColorIndex = 40
End With


In article ,
"Pellechi" wrote:

To Anyone,

I'm changing the value of a cell in a table to 3 using the working code
<snippet below ...
I'd like to also change the cell's color to TAN (40) at the same time in my
loop ...

QUESTION: Can someone advise how to reference the cell's interior color and
change it to TAN at the same time?
--------------------------------------------
' Assign the number 3 to the cell
shtMaster.Range("INITIALS_Base").Offset(Oper_Init, Day).Value = 3

Thanks,

Jim Pellechi



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
Macro to set cell interior color? imoose Excel Discussion (Misc queries) 4 July 8th 08 11:36 PM
Test cell interior color by worksheet function? Skimmer Excel Worksheet Functions 7 September 4th 07 09:40 PM
Cell interior color JohnB Excel Discussion (Misc queries) 4 October 12th 06 06:07 PM
Need Excel Formula/Function to color cell interior akaster Excel Worksheet Functions 2 April 19th 06 06:30 PM


All times are GMT +1. The time now is 12:49 AM.

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

About Us

"It's about Microsoft Excel"