Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tawnee jamison
 
Posts: n/a
Default format cell to change color when copied


I do alot of cut and pasting. Is there a code that will change the color
of a cell if I right click to copy it, so I can track what I have worked
on?

Thanks, Tawnee


--
tawnee jamison
------------------------------------------------------------------------
tawnee jamison's Profile: http://www.excelforum.com/member.php...o&userid=16137
View this thread: http://www.excelforum.com/showthread...hreadid=346063

  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

Tawnee

Can be done, but you'll soon end up not knowing which was which.

Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, _
Cancel As Boolean)
If Target.Cells.Count 1 Then Exit Sub
If Intersect(Target, Me.Range("A1:A10")) Is Nothing Then Exit Sub
'adjust the Range to your needs
On Error GoTo CleanUp
Application.EnableEvents = False
Target.Interior.ColorIndex = 3
CleanUp:
Application.EnableEvents = True
End Sub


Gord Dibben Excel MVP

On Wed, 16 Feb 2005 13:30:06 -0600, tawnee jamison
wrote:


I do alot of cut and pasting. Is there a code that will change the color
of a cell if I right click to copy it, so I can track what I have worked
on?

Thanks, Tawnee


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
notification by email by cell format change notify me Excel Worksheet Functions 1 February 8th 05 07:38 AM
Change cell back color on click Dave Peterson Excel Discussion (Misc queries) 0 January 24th 05 10:50 PM
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? Markus Obermayer Excel Discussion (Misc queries) 1 January 4th 05 08:01 PM
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? Markus Obermayer Excel Worksheet Functions 1 January 4th 05 08:01 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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