#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Active Cell

I want the active cell to be yellow and all other cells to be white. So, In the visual basic window, I change the object to Worksheet and the procedure to Selection Change. Then I typ
Cells.Interior.Color = byWhit
ActiveCell.Interior.Color = vbYello
However, that gets rid of the gridlines too
And I think there is an easier way to to do this using conditional formatting and the Countif function(?), but I don't know how
Appreciate your suggestions
HF
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Active Cell

Check out this webpage
http://www.mcgimpsey.com/excel/highl...iteRetainColor

I think you like the Add-in from Chip Pearson
http://www.mcgimpsey.com/excel/highl...iteRetainColor

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Howard" wrote in message ...
I want the active cell to be yellow and all other cells to be white. So, In the visual basic window, I change the object to

Worksheet and the procedure to Selection Change. Then I type
Cells.Interior.Color = byWhite
ActiveCell.Interior.Color = vbYellow
However, that gets rid of the gridlines too.
And I think there is an easier way to to do this using conditional formatting and the Countif function(?), but I don't know

how.
Appreciate your suggestions.
HF



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Active Cell

Oops

I think you like the Add-in from Chip Pearson
http://cpearson.com/excel/RowLiner.htm


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Ron de Bruin" wrote in message ...
Check out this webpage
http://www.mcgimpsey.com/excel/highl...iteRetainColor

I think you like the Add-in from Chip Pearson
http://www.mcgimpsey.com/excel/highl...iteRetainColor

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Howard" wrote in message ...
I want the active cell to be yellow and all other cells to be white. So, In the visual basic window, I change the object to

Worksheet and the procedure to Selection Change. Then I type
Cells.Interior.Color = byWhite
ActiveCell.Interior.Color = vbYellow
However, that gets rid of the gridlines too.
And I think there is an easier way to to do this using conditional formatting and the Countif function(?), but I don't know

how.
Appreciate your suggestions.
HF





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Active Cell

Thanks! Works beautifully

Howard
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
Row select mode to highlight active row of active cell Bart Fay[_2_] Excel Discussion (Misc queries) 0 May 11th 10 09:34 PM
set the background color of the current cell(active cell) kang New Users to Excel 2 July 31st 07 04:48 PM
referring to formula in a non active cell from active cell nickname Excel Discussion (Misc queries) 1 June 21st 07 12:11 PM
value of the active cell caroline Excel Worksheet Functions 2 June 21st 06 05:34 PM
HOW TO COPY 480 ACTIVE E-MAIL ADDRESSES CLM "G" ON AN ACTIVE EXCE. ragman10 Excel Discussion (Misc queries) 1 December 13th 04 11:52 PM


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