Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ActiveX HELP!!

I need to program a workbook around whether or not a single box is checked or
not.

Need help quick!
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default ActiveX HELP!!

Lori,

Several things,
first when are you checking if the workbox is checked? when the file is opened
if so do this in the workbook module

private sub workbook_open()
if sheet1.checkbox1.value = true then
'insert code
end if
end sub

where sheet1 is the sheet the checkbox is on and checkbox1 is the name of
the box you are checking. of course if you wish to check when the box itself
is checked then put this in the appropriate sheet module

private sub checkbox1_click() ' where checkbox1 is the name of the checkbox
if checkbox1.value = false then exit sub
'insert code here
end sub

"Lori~" wrote:

I need to program a workbook around whether or not a single box is checked or
not.

Need help quick!

  #3   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default ActiveX HELP!!

sorry i meant when were you checking if the checkbox is checked (my that's a
redunant statement)

"ben" wrote:

Lori,

Several things,
first when are you checking if the workbox is checked? when the file is opened
if so do this in the workbook module

private sub workbook_open()
if sheet1.checkbox1.value = true then
'insert code
end if
end sub

where sheet1 is the sheet the checkbox is on and checkbox1 is the name of
the box you are checking. of course if you wish to check when the box itself
is checked then put this in the appropriate sheet module

private sub checkbox1_click() ' where checkbox1 is the name of the checkbox
if checkbox1.value = false then exit sub
'insert code here
end sub

"Lori~" wrote:

I need to program a workbook around whether or not a single box is checked or
not.

Need help quick!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default ActiveX HELP!!

Hey Ben,

Need to have this programmed so that when my single check box is checked
then certain cells within this workbook = a certain number for scoring
purposes on another sheet. So essentially when the box is checked things
need to happen...

Any ideas?

"ben" wrote:

Lori,

Several things,
first when are you checking if the workbox is checked? when the file is opened
if so do this in the workbook module

private sub workbook_open()
if sheet1.checkbox1.value = true then
'insert code
end if
end sub

where sheet1 is the sheet the checkbox is on and checkbox1 is the name of
the box you are checking. of course if you wish to check when the box itself
is checked then put this in the appropriate sheet module

private sub checkbox1_click() ' where checkbox1 is the name of the checkbox
if checkbox1.value = false then exit sub
'insert code here
end sub

"Lori~" wrote:

I need to program a workbook around whether or not a single box is checked or
not.

Need help quick!

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
ActiveX Medley1208 Excel Discussion (Misc queries) 0 May 30th 08 04:09 PM
ActiveX RedChequer Excel Discussion (Misc queries) 0 March 9th 05 11:05 PM
activeX batty Excel Programming 0 September 18th 04 04:13 PM
activex joe Excel Programming 1 August 12th 04 05:22 PM
activeX Marcos Santos \(MOS\) Excel Programming 0 July 21st 04 09:42 PM


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