PC Review


Reply
Thread Tools Rate Thread

Click a cell next to an item and have a checkmark appear

 
 
PJ Murph
Guest
Posts: n/a
 
      29th Dec 2009
I have a list of items. I would like to click the cell to the left of the
item and have a checkmark appear, click the cell again and have the checkmark
disappear. Is this possible?
 
Reply With Quote
 
 
 
 
marcus
Guest
Posts: n/a
 
      30th Dec 2009
Hi JP

This should sort you out. Highlight the column you plan to click on
and format that column as Wingdings. Paste this code in the worksheet
module where you want the event to occur, so Sheet1 for example.

I have made it a doubleclick event so it will appear and disappear as
you DOUBLE click on the cell.

Take care

Marcus



Option Explicit

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel
As Boolean)
On Error Resume Next
If Intersect(Target, Range("F2:F6")).Value = "ü" Then
Target.Value = ""
Else: Target.Value = "ü"
End If

End Sub
 
Reply With Quote
 
PJ Murph
Guest
Posts: n/a
 
      31st Dec 2009
You are 'The Man'! Thanks, Marcus, have a Happy New Year.

"marcus" wrote:

> Hi JP
>
> This should sort you out. Highlight the column you plan to click on
> and format that column as Wingdings. Paste this code in the worksheet
> module where you want the event to occur, so Sheet1 for example.
>
> I have made it a doubleclick event so it will appear and disappear as
> you DOUBLE click on the cell.
>
> Take care
>
> Marcus
>
>
>
> Option Explicit
>
> Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel
> As Boolean)
> On Error Resume Next
> If Intersect(Target, Range("F2:F6")).Value = "ü" Then
> Target.Value = ""
> Else: Target.Value = "ü"
> End If
>
> End Sub
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Move cell info from one worksheet to another buy click a checkmark =?Utf-8?B?U2hlcm0=?= Microsoft Excel Programming 3 17th Nov 2005 02:10 AM
how do I place a checkmark next to an item in word =?Utf-8?B?QW5keQ==?= Microsoft Word Document Management 1 4th Oct 2005 02:46 AM
Checkmark on Menu Item =?Utf-8?B?RG9uQg==?= Microsoft Excel Programming 2 13th May 2005 01:53 AM
Placing checkmark beside menu item DonB Microsoft Excel Programming 1 27th Jul 2004 04:32 PM
CheckedListBox-- item checkmark status? Dave Veeneman Microsoft C# .NET 2 16th Apr 2004 09:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:14 PM.