#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Query on Cell

Is there any formula for : If we click on cell that cell should change its
color automatically.......

Please reply.......................
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Query on Cell

Try this simple worksheet event macro:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.Interior.ColorIndex = xlNone
ActiveCell.Interior.ColorIndex = 6
End Sub

REMEMBER: This goes in the worksheet code area, not a standatd module.
--
Gary''s Student - gsnu200760


"VIVEKMANE" wrote:

Is there any formula for : If we click on cell that cell should change its
color automatically.......

Please reply.......................

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
unprotect query cell gplant Excel Worksheet Functions 0 April 23rd 07 06:46 PM
Parameter Query Cell substitution Jockel Excel Discussion (Misc queries) 2 December 8th 06 04:28 PM
Cell Formatting Query shakey1181 Excel Discussion (Misc queries) 1 October 20th 06 06:18 PM
Query about Last Cell reference. Pank Mehta Excel Discussion (Misc queries) 3 May 9th 05 10:47 AM
Confine results of web query to one cell JayPatterson Excel Discussion (Misc queries) 0 December 24th 04 03:21 PM


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