LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Passing values

You could set a property in the second userform , and set that before
opening

Userform2.myVar = "Test"
Userform2.Show

and then in Userform2

Public myVar

Private Sub UserForm_Activate()
MsgBox myVar
End Sub


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"PhilM" wrote in message
oups.com...
How do I pass a value obtain via a userform to another userform which
initially called the 1st userform?



 
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
Please help with passing values Frigid_Digit[_5_] Excel Programming 2 September 16th 05 06:29 AM
Passing Values Information Hog[_6_] Excel Programming 6 August 23rd 05 04:06 PM
PAssing Values to Excel Kevan Hughes Excel Programming 0 March 30th 05 06:09 PM
Passing values to new app BrianG[_4_] Excel Programming 3 May 27th 04 01:58 PM
Passing values between 2 subs ? [email protected] Excel Programming 1 November 21st 03 05:56 PM


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