Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nicholas
 
Posts: n/a
Default Create a check box for each row

I am trying to create an issues list in excel, and I want to add a check box
in the field as the issue is resolved.
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

Hi Nicholas,

Install by rightclick on sheettab then view code then insert the following:

Private Sub Worksheet_BeforeDoubleClick(ByVal _
Target As Range, Cancel As Boolean)
If Target.row = 1 Then Exit Sub 'row 1 s/b column titles
If Target.Column < 2 Then Exit Sub
If UCase(Target.Value) = "P" Then
Target.Value = ""
Else
Target.Value = "P"
End If
End Sub

Format the entire column with Symbol Font
then fix the first row formatting for normal (probably Arial) usage so you can see column headings.

If you don't like the style of the tick mark then see
http://www.mvps.org/dmcritchie/rexx/...bols.htm#ticks


More information on Event macros
http://www.mvps.org/dmcritchie/excel/event.htm

A doubleclick event is a much more positive action than merely
activating a cell.



---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Nicholas" wrote in message ...
I am trying to create an issues list in excel, and I want to add a check box
in the field as the issue is resolved.



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
How do I create a small box I can place a check mark in? PAM Excel Discussion (Misc queries) 8 November 7th 05 01:46 PM
create a housekeeping check sheet on excel beginner500 New Users to Excel 2 April 24th 05 12:55 AM
How do I use a check box to accept a calculation Joejoethecrackman Excel Discussion (Misc queries) 5 March 22nd 05 08:47 PM
Can you create a check box or radio button in Excel? sf49ers Excel Discussion (Misc queries) 2 January 5th 05 03:31 PM
Creating a check box that does not require security clearance. Maverick2U Excel Worksheet Functions 6 December 14th 04 02:46 AM


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