LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Userform Checkbox

Try this:
Sheets(1).Cells(i,1) = UserForm1.Controls("CheckBox" & i).Value

HTH

Die_Another_Day
Bill wrote:
Hello,
I have a userform with twelve check boxes, cleverly titled CheckBox1,
CheckBox2, etc.

I would like to record the value of those check boxes on a worksheet (either
true or false). Is there a way of doing that without having to list each
checkbox.

I tried something like the following:

For i = 1 to 12
sheets(1).cells(i,1)=userform.checkbox & i
next i

But without success.

Thanks.

Bill


 
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
CheckBox in userform MD Excel Programming 2 December 2nd 04 06:42 PM
CheckBox on UserForm Michel[_4_] Excel Programming 0 August 3rd 04 12:38 AM
userform CheckBox print dok112[_12_] Excel Programming 1 June 21st 04 02:50 PM
userform CheckBox print dok112[_11_] Excel Programming 0 June 21st 04 08:41 AM
Userform and checkbox.... Ben.c Excel Programming 3 December 19th 03 05:56 PM


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