Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Vba - getting value from other userform

Hi all,

in Userform1 I have TextBox1
I need to use that value into userform2. How do I call that value fro
Userform2?

something like...
Text= Userform1(TextBox1.value) ???

Thanks,
Aldo

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Vba - getting value from other userform

vVar = Userform1.Textbox1.Value

--
Regards,
Tom Ogilvy

"ajliaks " wrote in message
...
Hi all,

in Userform1 I have TextBox1
I need to use that value into userform2. How do I call that value from
Userform2?

something like...
Text= Userform1(TextBox1.value) ???

Thanks,
Aldo.


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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Vba - getting value from other userform

Text= Userform1.TextBox1.Text

Be aware that if Userform1 has been unloaded, the textbox will have been
cleared.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"ajliaks " wrote in message
...
Hi all,

in Userform1 I have TextBox1
I need to use that value into userform2. How do I call that value from
Userform2?

something like...
Text= Userform1(TextBox1.value) ???

Thanks,
Aldo.


---
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
Linking userform to userform in Excel 2003 missmelis01 Excel Programming 2 August 27th 04 08:07 PM
Userform inside another userform Ryan Excel Programming 0 April 23rd 04 08:01 PM
UserForm John Beaumont Excel Programming 1 December 19th 03 04:41 PM
Userform John Wilson Excel Programming 2 August 1st 03 06:33 PM
Userform RboinD Excel Programming 1 August 1st 03 02:42 PM


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