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: 35,218
Default checkbox on form reset from checkbox on sheet

Why not just use the userform's initialize procedure to set things the way you
want.

Option Explicit
Private Sub UserForm_Initialize()
Me.CheckBox1.Value = False
Me.CheckBox2.Value = False
End Sub




raw wrote:

Hi

I have a checkbox on a worksheet that when you click a from appears and
on there is 2 checkboxes but can i add some code to the checkbox on the
worksheet to make the checkbox values on the form false when open

I have tried but it just resets the checkbox on the sheet becasue there
are the same name

eg checkbox 1 on the worksheet (control toolbar)
Checkbox 1 on the form

Thanks

--
raw
------------------------------------------------------------------------
raw's Profile: http://www.excelforum.com/member.php...o&userid=28312
View this thread: http://www.excelforum.com/showthread...hreadid=490326


--

Dave Peterson
 
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
Clear a Checkbox in a a user form Cerberus Excel Discussion (Misc queries) 6 June 26th 08 10:41 PM
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
Checking the status of a checkbox in a user form Peter Rooney Excel Programming 15 November 1st 05 03:59 PM
Add Checkbox programatically to form Matt Jensen Excel Programming 4 December 9th 04 05:22 PM
creating checkbox through form yami-s[_5_] Excel Programming 2 February 18th 04 04:18 PM


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