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

Hello,

Is there a way i can use a click event or double-click event to change a
cell colour to red (not the content, the actual cell background) and have it
change back to white when actioned again??

Thanks!!!!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Cell colour

Didn't we cover this just yesterday???

--

Vasant

"gav meredith" wrote in message
...
Hello,

Is there a way i can use a click event or double-click event to change a
cell colour to red (not the content, the actual cell background) and have

it
change back to white when actioned again??

Thanks!!!!




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Cell colour

and you didnt get back to me with how to create with a double click event??

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Didn't we cover this just yesterday???

--

Vasant

"gav meredith" wrote in message
...
Hello,

Is there a way i can use a click event or double-click event to change a
cell colour to red (not the content, the actual cell background) and

have
it
change back to white when actioned again??

Thanks!!!!






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Cell colour

"gav meredith" wrote in message
...
and you didnt get back to me with how to create with a double click

event??

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Didn't we cover this just yesterday???


I certainly did. Then you responded saying that you wanted the cell
background, rather than the font, to change color. And Bob Phillips
responded to you showing you how to amend my code to do just that.

--

Vasant


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Cell colour

my deepest apologies to you vasant and bob also. I missed it completely.

did you see my other post regarding the copy/paste function (alter existing
code). This relates directly and i am hoping to be able to amend my code??

Again, thank you very much!!

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
"gav meredith" wrote in message
...
and you didnt get back to me with how to create with a double click

event??

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Didn't we cover this just yesterday???


I certainly did. Then you responded saying that you wanted the cell
background, rather than the font, to change color. And Bob Phillips
responded to you showing you how to amend my code to do just that.

--

Vasant






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Cell colour

Gav, I'm not going to have the time to look at it tonight as it seems
somewhat involved and I don't have a stretch of time to review it in detail.
Perhaps someone else can jump in, or you may want to repost it.

--

Vasant

"gav meredith" wrote in message
...
my deepest apologies to you vasant and bob also. I missed it completely.

did you see my other post regarding the copy/paste function (alter

existing
code). This relates directly and i am hoping to be able to amend my code??

Again, thank you very much!!

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
"gav meredith" wrote in message
...
and you didnt get back to me with how to create with a double click

event??

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Didn't we cover this just yesterday???


I certainly did. Then you responded saying that you wanted the cell
background, rather than the font, to change color. And Bob Phillips
responded to you showing you how to amend my code to do just that.

--

Vasant






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Cell colour

Private Sub Workbook_SheetBeforeDoubleClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean
If Target.Interior.ColorIndex = xlNone The
Target.Interior.ColorIndex =
ElseIf Target.Interior.ColorIndex = 3 The
Target.Interior.ColorIndex = xlNon
End I
End Sub
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
textBox font colour the same as cell font colour???????? Sophie Excel Discussion (Misc queries) 4 February 13th 09 10:15 AM
How can colour of cell shading be fixed to one colour Tabrez Excel Discussion (Misc queries) 2 September 23rd 08 04:55 PM
how to colour a cell green if another cell is filled with text terence Excel Discussion (Misc queries) 3 March 11th 07 04:38 PM
change a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM
How can i change cell colour depending on month of date in cell? andy75 Excel Discussion (Misc queries) 2 January 6th 06 07:46 AM


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