Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default NoFill range of cells

Hi,

How do I clear the color/shading of cells?

Range("A1:B10").Interior.ColorIndex = 2

...will make it white but I lose the gridlines. How do I incorporate
the statement "Cells.ColorIndex = xlColorIndexNone" ?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default NoFill range of cells

Range("A1:B10").Interior.ColorIndex = xlNone

Always worth recording a macro - make the change then undo the change then
take a look at the code.

--
Cheers
Nigel



wrote in message
oups.com...
Hi,

How do I clear the color/shading of cells?

Range("A1:B10").Interior.ColorIndex = 2

..will make it white but I lose the gridlines. How do I incorporate
the statement "Cells.ColorIndex = xlColorIndexNone" ?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default NoFill range of cells

You guys are great! Hadn't thought of recording macros to view the
code... will check that from now on!

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
Summing a range of cells based on criteria in another range Jack Excel Worksheet Functions 2 November 5th 09 01:46 AM
When entering data into a range of cells, select the entire range. Q Excel Discussion (Misc queries) 0 September 26th 07 04:36 AM
how to compute a range of cells based on another range of cells? HAROLD Excel Worksheet Functions 1 December 30th 05 09:32 PM
how to compute a range of cells based on another range of cells? HAROLD Excel Worksheet Functions 2 December 30th 05 07:55 PM
Copy a formula to a range of cells via VB6 using .Range(Cells(row,col), Cells(row,col)).Formula= statement Kevin Excel Programming 7 October 5th 04 08:11 PM


All times are GMT +1. The time now is 02:45 PM.

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"