#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Check Box

I am creating a program where there is a button in an Excel sheet that
adds a line to the sheet based on information from the user.
Information is obtained from a form. A new line is added with a check
box in the first column of this row and other information is added in
other columns, then the data in the sheet is sorted. The problem I am
having is getting the check box to follow the information after a row
is inserted and the button doesn't follow the information after the
sort. So, question 1: How do I "attach" a check box to a cell, so
that the check box moves when the cell moves?

question 2: I am having problems changing the caption for the check
box. I want there to be no caption. How would I accomplish this?

Thanks,
William

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Check Box

On the properties tab of the checkbox set the move with cell property.

Depending on the try of checkbox (control or form) you can also set the size
with the cell.

--
HTHs Martin


" wrote:

I am creating a program where there is a button in an Excel sheet that
adds a line to the sheet based on information from the user.
Information is obtained from a form. A new line is added with a check
box in the first column of this row and other information is added in
other columns, then the data in the sheet is sorted. The problem I am
having is getting the check box to follow the information after a row
is inserted and the button doesn't follow the information after the
sort. So, question 1: How do I "attach" a check box to a cell, so
that the check box moves when the cell moves?

question 2: I am having problems changing the caption for the check
box. I want there to be no caption. How would I accomplish this?

Thanks,
William


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Check Box

Thanks for your help, but I was wondering if there is a way to set it
using code instead of going to the properties tab.


Martin Fishlock wrote:
On the properties tab of the checkbox set the move with cell property.

Depending on the try of checkbox (control or form) you can also set the size
with the cell.

--
HTHs Martin


" wrote:

I am creating a program where there is a button in an Excel sheet that
adds a line to the sheet based on information from the user.
Information is obtained from a form. A new line is added with a check
box in the first column of this row and other information is added in
other columns, then the data in the sheet is sorted. The problem I am
having is getting the check box to follow the information after a row
is inserted and the button doesn't follow the information after the
sort. So, question 1: How do I "attach" a check box to a cell, so
that the check box moves when the cell moves?

question 2: I am having problems changing the caption for the check
box. I want there to be no caption. How would I accomplish this?

Thanks,
William



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Check Box


checkbox1.xxxxxx = value where xxxxx =property


--
markbpdx
------------------------------------------------------------------------
markbpdx's Profile: http://www.excelforum.com/member.php...o&userid=37610
View this thread: http://www.excelforum.com/showthread...hreadid=572037

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
make a check form, and then have info go to a check register richie g Excel Worksheet Functions 0 May 5th 10 12:10 AM
Copy and move check box (check boxes) with new cell link? Marty Excel Worksheet Functions 1 January 20th 10 07:43 PM
Increase size of a Forms Check Box (click on to enter check mark) 718Satoshi Excel Discussion (Misc queries) 0 August 17th 07 01:52 AM
Check if Conditional Format is True or False / Check cell Color Kevin McCartney Excel Worksheet Functions 5 June 29th 07 11:12 AM
Enable check box in protected sheet + group check boxes Dexxterr Excel Discussion (Misc queries) 4 August 2nd 06 12:00 PM


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