Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
bst bst is offline
external usenet poster
 
Posts: 19
Default more on interior.colorindex issue

the problem i am having(see the interior.colorindex does not work?
thread if you are interested) seems to be specific to the sheet i'm
working on. if i try coping the data to another workbook, i get the same
problem, even though the code works on other sheets in the workbook.

you would think that the following code, .cell(x,x).interior.colorindex
= 3, would change the cell color to red. on this specific sheet it
actually colors the cell white. i used the following to see what else
was off incase their was an offset or something. x=1 gives a blue
color, x=2,4-6 is black, and 3 as mentioned above is white. starting at
x=7 things seem to be working fine.

for x = 1 to 56
..cell(x,1).interior.colorindex = x
next x

can anyone think of any sheet properties/settings/voodoo that may cause
this. (there is no conditional formatting on the cells). for the time
being i will shade using a different color, but i would like to the
cause of the problem.

tia
bst

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default more on interior.colorindex issue

Sounds like the workbook's palette has been customized. See Tools / Options
/ Color and if you want, click Reset (ActiveWorkbook.ResetColors).

Regards,
Peter T


"bst" wrote in message
...
the problem i am having(see the interior.colorindex does not work?
thread if you are interested) seems to be specific to the sheet i'm
working on. if i try coping the data to another workbook, i get the same
problem, even though the code works on other sheets in the workbook.

you would think that the following code, .cell(x,x).interior.colorindex
= 3, would change the cell color to red. on this specific sheet it
actually colors the cell white. i used the following to see what else
was off incase their was an offset or something. x=1 gives a blue
color, x=2,4-6 is black, and 3 as mentioned above is white. starting at
x=7 things seem to be working fine.

for x = 1 to 56
.cell(x,1).interior.colorindex = x
next x

can anyone think of any sheet properties/settings/voodoo that may cause
this. (there is no conditional formatting on the cells). for the time
being i will shade using a different color, but i would like to the
cause of the problem.

tia
bst



  #3   Report Post  
Posted to microsoft.public.excel.programming
bst bst is offline
external usenet poster
 
Posts: 19
Default more on interior.colorindex issue

That was it!
thanks so much, i thought i was going crazy.

thanks again
bst

"Peter T" <peter_t@discussions wrote in
:

Sounds like the workbook's palette has been customized. See Tools /
Options / Color and if you want, click Reset
(ActiveWorkbook.ResetColors).

Regards,
Peter T


"bst" wrote in message
...
the problem i am having(see the interior.colorindex does not work?
thread if you are interested) seems to be specific to the sheet i'm
working on. if i try coping the data to another workbook, i get the
same problem, even though the code works on other sheets in the
workbook.

you would think that the following code,
.cell(x,x).interior.colorindex = 3, would change the cell color to
red. on this specific sheet it actually colors the cell white. i used
the following to see what else was off incase their was an offset or
something. x=1 gives a blue color, x=2,4-6 is black, and 3 as
mentioned above is white. starting at x=7 things seem to be working
fine.

for x = 1 to 56
.cell(x,1).interior.colorindex = x
next x

can anyone think of any sheet properties/settings/voodoo that may
cause this. (there is no conditional formatting on the cells). for
the time being i will shade using a different color, but i would like
to the cause of the problem.

tia
bst




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default more on interior.colorindex issue

Glad you finally found the problem. I had been following your dilemma.

"bst" wrote:

That was it!
thanks so much, i thought i was going crazy.

thanks again
bst

"Peter T" <peter_t@discussions wrote in
:

Sounds like the workbook's palette has been customized. See Tools /
Options / Color and if you want, click Reset
(ActiveWorkbook.ResetColors).

Regards,
Peter T


"bst" wrote in message
...
the problem i am having(see the interior.colorindex does not work?
thread if you are interested) seems to be specific to the sheet i'm
working on. if i try coping the data to another workbook, i get the
same problem, even though the code works on other sheets in the
workbook.

you would think that the following code,
.cell(x,x).interior.colorindex = 3, would change the cell color to
red. on this specific sheet it actually colors the cell white. i used
the following to see what else was off incase their was an offset or
something. x=1 gives a blue color, x=2,4-6 is black, and 3 as
mentioned above is white. starting at x=7 things seem to be working
fine.

for x = 1 to 56
.cell(x,1).interior.colorindex = x
next x

can anyone think of any sheet properties/settings/voodoo that may
cause this. (there is no conditional formatting on the cells). for
the time being i will shade using a different color, but i would like
to the cause of the problem.

tia
bst





  #5   Report Post  
Posted to microsoft.public.excel.programming
bst bst is offline
external usenet poster
 
Posts: 19
Default more on interior.colorindex issue

me too :)

?B?SkxHV2hpeg==?= wrote in
:

Glad you finally found the problem. I had been following your
dilemma.

"bst" wrote:

That was it!
thanks so much, i thought i was going crazy.

thanks again
bst

"Peter T" <peter_t@discussions wrote in
:

Sounds like the workbook's palette has been customized. See Tools /
Options / Color and if you want, click Reset
(ActiveWorkbook.ResetColors).

Regards,
Peter T


"bst" wrote in message
...
the problem i am having(see the interior.colorindex does not work?
thread if you are interested) seems to be specific to the sheet
i'm working on. if i try coping the data to another workbook, i
get the same problem, even though the code works on other sheets
in the workbook.

you would think that the following code,
.cell(x,x).interior.colorindex = 3, would change the cell color to
red. on this specific sheet it actually colors the cell white. i
used the following to see what else was off incase their was an
offset or something. x=1 gives a blue color, x=2,4-6 is black, and
3 as mentioned above is white. starting at x=7 things seem to be
working fine.

for x = 1 to 56
.cell(x,1).interior.colorindex = x
next x

can anyone think of any sheet properties/settings/voodoo that may
cause this. (there is no conditional formatting on the cells). for
the time being i will shade using a different color, but i would
like to the cause of the problem.

tia
bst






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
interior.colorindex does not work? bst Excel Programming 11 June 28th 08 02:05 PM
To reset the Interior.ColorIndex function Daniel Excel Programming 1 June 26th 07 02:12 AM
problem with interior.colorindex Peter Rooney Excel Programming 7 January 20th 06 12:31 PM
Use of Interior.ColorIndex liquidhot Excel Programming 4 June 27th 05 07:22 PM
Testing for Interior.ColorIndex JeffBo Excel Programming 7 May 17th 04 09:41 PM


All times are GMT +1. The time now is 08:25 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"