Ahh, I understand. let me ask you something... are both forms going to be open at the same time? or does the first form completely shut down then the second form opens? Just wondering, I have used one form to another copy before... but the whole clipboard Idea, I've never done.
However I was reading something on here about the clipboard.
http://www.cpearson.com/excel/clipboard.aspx
Looks like you can assign certain text to a clipboard... so instead of assigning text.. you could try...
Putting Text In The Clipboard
Code:
Dim DataObj As New MSForms.DataObject
Dim S As String
S = Forms("formname").txbuserid.Value
DataObj.SetText S
DataObj.PutInClipboard
Retrieving Text From The Clipboard
Code:
Dim DataObj As New MSForms.DataObject
Dim S As String
DataObj.GetFromClipboard
S = DataObj.GetText
Debug.Print S
Have to give credit to June7 for digging up the Link.
--Website directions... this has to be done in order for this to work
"The MSForms library contains an object called the DataObject that provides support for working with text strings on the Windows clipboard. VBA does not support the data type required for other, non-text, values on the clipboard. To use the DataObject in your code, you must set a reference to the Microsoft Forms 2.0 Object Library.
ADDING A REFERENCE IN VBA. To add a reference to your VBA project, go to the Tools menu in the VBA editor and choose the References item. In the dialog that appears, scroll down the list until you find the appropriate library. Commonly used references are listed at the top of the list, and after those, the references are listed in alphabetical order. When you find the reference required by the code, check the checkbox next to the reference title and then click OK."