Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default initialize value in userform when opened

Hi All,

I have a userform (name=imagetype), that has an unbound texbox control
(name=MaxNulls). When the userform opens, I would like to initialize
the value of MaxNulls to 3 ...is this possible?

thanks!


Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access

*
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default initialize value in userform when opened

Behind the userform:

Private Sub UserForm_Initialize()
me.maxnulls.value = "3"
End Sub




strive4peace wrote:

Hi All,

I have a userform (name=imagetype), that has an unbound texbox control
(name=MaxNulls). When the userform opens, I would like to initialize
the value of MaxNulls to 3 ...is this possible?

thanks!

Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access

*


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default initialize value in userform when opened

fantastic! thanks, Dave!


Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access

*



Dave Peterson wrote:
Behind the userform:

Private Sub UserForm_Initialize()
me.maxnulls.value = "3"
End Sub




strive4peace wrote:
Hi All,

I have a userform (name=imagetype), that has an unbound texbox control
(name=MaxNulls). When the userform opens, I would like to initialize
the value of MaxNulls to 3 ...is this possible?

thanks!

Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access

*


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
UserForm initialize Arne Hegefors Excel Programming 8 September 8th 06 01:48 PM
userform initialize Patrick Simonds Excel Programming 1 August 4th 06 11:14 PM
Userform initialize combobox using Chr() function. michaelberrier[_2_] Excel Programming 3 June 27th 06 10:37 PM
initialize userform, using a sub natanz[_2_] Excel Programming 11 November 22nd 05 05:30 AM
Qn: Define a variable in Initialize for Userform Michael Vaughan Excel Programming 4 August 21st 04 12:10 PM


All times are GMT +1. The time now is 09:13 PM.

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"