Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I set up a column in Excel as a check mark column?

I am trying to figure out how to set up a column in Excel as a Check Box
Cell. Example: Column Heading: Paid Would like to be able to put a check
mark under that columnas needed. Please help!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 98
Default How do I set up a column in Excel as a check mark column?

Hi you can insert a checkbox from the forms menu,

To see the forms menu, goto "View then "Toolbars"" then check "forms"

You can now click the checkbox symbol from this new menu and then draw a
checkbox in the column / cell you want.
--
This post was created using recycled electrons!


"wrsstevens" wrote:

I am trying to figure out how to set up a column in Excel as a Check Box
Cell. Example: Column Heading: Paid Would like to be able to put a check
mark under that columnas needed. Please help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do I set up a column in Excel as a check mark column?

You could just use a "X". That'd be the easiest way to go about it.

If that isn't "sexy" enough......

Format the cells in question to use the Marlett font then enter a lower case
"a" (without the quotes) in the cells where you want a checkmark.

If that's not "sexy" enough, you could use an event macro that inserts a
checkmark in a cell when selected. I think I have code to do that somewhere
around here.

Biff

"wrsstevens" wrote in message
...
I am trying to figure out how to set up a column in Excel as a Check Box
Cell. Example: Column Heading: Paid Would like to be able to put a check
mark under that columnas needed. Please help!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I set up a column in Excel as a check mark column?

Biff

Is there a chance i could get the macro code to place a check mark in a cell
from a mouse click?

"T. Valko" wrote:

You could just use a "X". That'd be the easiest way to go about it.

If that isn't "sexy" enough......

Format the cells in question to use the Marlett font then enter a lower case
"a" (without the quotes) in the cells where you want a checkmark.

If that's not "sexy" enough, you could use an event macro that inserts a
checkmark in a cell when selected. I think I have code to do that somewhere
around here.

Biff

"wrsstevens" wrote in message
...
I am trying to figure out how to set up a column in Excel as a Check Box
Cell. Example: Column Heading: Paid Would like to be able to put a check
mark under that columnas needed. Please help!




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do I set up a column in Excel as a check mark column?

Here's that code: (credit to Dave Peterson and Bob Phillips)

Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim myHeight As Double
Application.EnableEvents = False
On Error GoTo sub_exit
If Not Intersect(Target, Range("A1:A100")) Is Nothing Then
With Target
If .Value = "a" Then
.Value = ""
Else
myHeight = .EntireRow.RowHeight
.Value = "a"
.Font.Name = "Marlett"
.EntireRow.RowHeight = myHeight
End If
End With
End If
sub_exit:
Application.EnableEvents = True
End Sub

That's sheet code. Select the sheet that you want this to happen in. Right
click the sheet tab then select View code. Paste the code into the window
that opens. Adjust the range to suit. Right now it's set to A1:A100.

Biff

"B. Sherwin" <B. wrote in message
...
Biff

Is there a chance i could get the macro code to place a check mark in a
cell
from a mouse click?

"T. Valko" wrote:

You could just use a "X". That'd be the easiest way to go about it.

If that isn't "sexy" enough......

Format the cells in question to use the Marlett font then enter a lower
case
"a" (without the quotes) in the cells where you want a checkmark.

If that's not "sexy" enough, you could use an event macro that inserts a
checkmark in a cell when selected. I think I have code to do that
somewhere
around here.

Biff

"wrsstevens" wrote in message
...
I am trying to figure out how to set up a column in Excel as a Check Box
Cell. Example: Column Heading: Paid Would like to be able to put a
check
mark under that columnas needed. Please help!








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I set up a column in Excel as a check mark column?

Thank You! It is very much appreciated!

"T. Valko" wrote:

Here's that code: (credit to Dave Peterson and Bob Phillips)

Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim myHeight As Double
Application.EnableEvents = False
On Error GoTo sub_exit
If Not Intersect(Target, Range("A1:A100")) Is Nothing Then
With Target
If .Value = "a" Then
.Value = ""
Else
myHeight = .EntireRow.RowHeight
.Value = "a"
.Font.Name = "Marlett"
.EntireRow.RowHeight = myHeight
End If
End With
End If
sub_exit:
Application.EnableEvents = True
End Sub

That's sheet code. Select the sheet that you want this to happen in. Right
click the sheet tab then select View code. Paste the code into the window
that opens. Adjust the range to suit. Right now it's set to A1:A100.

Biff

"B. Sherwin" <B. wrote in message
...
Biff

Is there a chance i could get the macro code to place a check mark in a
cell
from a mouse click?

"T. Valko" wrote:

You could just use a "X". That'd be the easiest way to go about it.

If that isn't "sexy" enough......

Format the cells in question to use the Marlett font then enter a lower
case
"a" (without the quotes) in the cells where you want a checkmark.

If that's not "sexy" enough, you could use an event macro that inserts a
checkmark in a cell when selected. I think I have code to do that
somewhere
around here.

Biff

"wrsstevens" wrote in message
...
I am trying to figure out how to set up a column in Excel as a Check Box
Cell. Example: Column Heading: Paid Would like to be able to put a
check
mark under that columnas needed. Please help!







  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I set up a column in Excel as a check mark column?

I notice that after copying the sheet code to my worksheet, it works
correctly except that it does not always place a check mark in the cell
selected, even though the font is set to Marlett. Sometimes the cell shows a
check mark and other times it is a small box. Any thoughts?

"T. Valko" wrote:

Here's that code: (credit to Dave Peterson and Bob Phillips)

Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim myHeight As Double
Application.EnableEvents = False
On Error GoTo sub_exit
If Not Intersect(Target, Range("A1:A100")) Is Nothing Then
With Target
If .Value = "a" Then
.Value = ""
Else
myHeight = .EntireRow.RowHeight
.Value = "a"
.Font.Name = "Marlett"
.EntireRow.RowHeight = myHeight
End If
End With
End If
sub_exit:
Application.EnableEvents = True
End Sub

That's sheet code. Select the sheet that you want this to happen in. Right
click the sheet tab then select View code. Paste the code into the window
that opens. Adjust the range to suit. Right now it's set to A1:A100.

Biff

"B. Sherwin" <B. wrote in message
...
Biff

Is there a chance i could get the macro code to place a check mark in a
cell
from a mouse click?

"T. Valko" wrote:

You could just use a "X". That'd be the easiest way to go about it.

If that isn't "sexy" enough......

Format the cells in question to use the Marlett font then enter a lower
case
"a" (without the quotes) in the cells where you want a checkmark.

If that's not "sexy" enough, you could use an event macro that inserts a
checkmark in a cell when selected. I think I have code to do that
somewhere
around here.

Biff

"wrsstevens" wrote in message
...
I am trying to figure out how to set up a column in Excel as a Check Box
Cell. Example: Column Heading: Paid Would like to be able to put a
check
mark under that columnas needed. Please help!







  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do I set up a column in Excel as a check mark column?

I'm able to duplicate that only under the condition that if I select a cell
the checkmark appears and while that cell is still selected I manually type
something else then it changes to something other than the checkmark.
Unfortunately, I don't know enough VBA to figure out how to correct that.

What exactly are you intentions for this?

Biff

"B. Sherwin" wrote in message
...
I notice that after copying the sheet code to my worksheet, it works
correctly except that it does not always place a check mark in the cell
selected, even though the font is set to Marlett. Sometimes the cell
shows a
check mark and other times it is a small box. Any thoughts?

"T. Valko" wrote:

Here's that code: (credit to Dave Peterson and Bob Phillips)

Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim myHeight As Double
Application.EnableEvents = False
On Error GoTo sub_exit
If Not Intersect(Target, Range("A1:A100")) Is Nothing Then
With Target
If .Value = "a" Then
.Value = ""
Else
myHeight = .EntireRow.RowHeight
.Value = "a"
.Font.Name = "Marlett"
.EntireRow.RowHeight = myHeight
End If
End With
End If
sub_exit:
Application.EnableEvents = True
End Sub

That's sheet code. Select the sheet that you want this to happen in.
Right
click the sheet tab then select View code. Paste the code into the window
that opens. Adjust the range to suit. Right now it's set to A1:A100.

Biff

"B. Sherwin" <B. wrote in message
...
Biff

Is there a chance i could get the macro code to place a check mark in a
cell
from a mouse click?

"T. Valko" wrote:

You could just use a "X". That'd be the easiest way to go about it.

If that isn't "sexy" enough......

Format the cells in question to use the Marlett font then enter a
lower
case
"a" (without the quotes) in the cells where you want a checkmark.

If that's not "sexy" enough, you could use an event macro that inserts
a
checkmark in a cell when selected. I think I have code to do that
somewhere
around here.

Biff

"wrsstevens" wrote in message
...
I am trying to figure out how to set up a column in Excel as a Check
Box
Cell. Example: Column Heading: Paid Would like to be able to put a
check
mark under that columnas needed. Please help!









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 to check for recurrence of same names in column 1 and column JillyB Excel Discussion (Misc queries) 1 January 30th 07 03:11 PM
How do I Make a column in excel a check box column Marie Excel Discussion (Misc queries) 0 November 10th 06 11:42 PM
How can I make a simple check mark column? PeterB Excel Discussion (Misc queries) 5 September 20th 06 02:23 AM
How do you create a check mark in Excel? melgun25 Excel Discussion (Misc queries) 1 September 12th 06 12:28 AM
Excel: How do I type a letter in a column and make a check mark a. BauerY Excel Worksheet Functions 3 March 24th 05 07:34 PM


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