Dim MyData As DataObject Private Sub CommandButton1_Click() TextBox1.SelStart = 0 TextBox1.SelLength = TextBox1.TextLength TextBox1.Copy
MyData.GetfromClipboard TextBox2.Text = MyData.GetText(1) End Sub
Private Sub UserForm_Initialize() Set MyData = New DataObject TextBox1.Text = "Move this data to the " _ & "Clipboard, to a DataObject, then to " & "TextBox2!" End Sub
Private Sub Command1_Click() Dim MyString() As String Open "a.xml" For Binary As #1 ' ´ò¿ª¸Õ´´½¨µÄÎļþ¡£ ReDim MyString(LOF(1) - 1) Put #1, , MyRecord ' ¶ÁÈëËùÓÐ×Ö·ûµ½±äÁ¿ÖÐ ......