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

I have a userform that has some checkboxes. How do make it so that whe
the userform initializes checkbox1 is already checked

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Checklist

Hi,
You can initilaize checkboxes to being checked in 2 ways:
- in Design mode, select the checkbox. In the Properties window, set the Value property of the checkbox to True
(If the Properties window is not displayed, go to menu View Properties Window)
- at Run-time, in the _Initialize sub of the userfform:
Private Sub UserForm_Initialize()
CheckBox1.Value = True
End Sub
--
Regards,
Sébastien
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Checklist

You can set the Value property of the checkbox to True at design time.


Or at runtime :

Private Sub UserForm_Initialize()
CheckBox1.Value = True
End Sub


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"ForSale " wrote in message
...
I have a userform that has some checkboxes. How do make it so that when
the userform initializes checkbox1 is already checked?


---
Message posted from http://www.ExcelForum.com/



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
talent checklist Laurie Alex Excel Discussion (Misc queries) 0 July 28th 07 05:16 PM
rooms checklist hany elkader Excel Worksheet Functions 0 June 25th 06 06:10 AM
Checklist guy Excel Worksheet Functions 7 December 28th 05 04:59 PM
Checklist guy New Users to Excel 1 December 26th 05 08:12 PM
RFP Checklist template Kristin Excel Discussion (Misc queries) 0 November 17th 05 09:30 PM


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