#1   Report Post  
Posted to microsoft.public.excel.misc
jd jd is offline
external usenet poster
 
Posts: 91
Default fill color

Is it possible to format a spreadsheet to remove the fill color of each cell
once data has been entered into that cell? How?

Thanks

--
JD
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default fill color

Assuming you have a fill color in the cell first try
formatconditional formatformula is=c1<""format to no color

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"JD" wrote in message
...
Is it possible to format a spreadsheet to remove the fill color of each
cell
once data has been entered into that cell? How?

Thanks

--
JD


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default fill color

JD
You will need VBA for that. Put the following macro in the sheet module
of your sheet. This macro will remove the fill color in any cell on the
sheet when any entry is made into that cell. HTH Otto
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count 1 Then Exit Sub
If Not IsEmpty(Target.Value) Then _
Target.Interior.ColorIndex = xlNone
End Sub
"JD" wrote in message
...
Is it possible to format a spreadsheet to remove the fill color of each
cell
once data has been entered into that cell? How?

Thanks

--
JD


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
fill color and font color icons do not work in excel huer59 Excel Discussion (Misc queries) 0 November 29th 07 01:06 PM
color fill button is not adding color to my spread sheet mitchnmd Excel Worksheet Functions 1 September 26th 07 04:36 PM
My fill color and font color do not work in Excel Std Edition 2003 chapstick Excel Discussion (Misc queries) 1 September 11th 05 08:48 PM
Excel 2003 will not display color fonts or color fill cells DaveC Excel Worksheet Functions 1 April 11th 05 04:38 PM
My excel 2003 wont let me fill cells with color or color the tabs. trizog New Users to Excel 2 February 22nd 05 06:43 PM


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