Sub TestTXT()
Set MyData = New DataObject
Dim MyData As DataObject
Dim fso As Scripting.FileSystemObject
Dim ts As Scripting.TextStream
Set MyData = New DataObject
Set fso = New Scripting.FileSystemObject
Set ts = fso.OpenTextFile("C:\gerry\test2.txt")
MyData.SetText ts.ReadAll
MyData.PutInClipboard
[COLOR=red yellow]' Just grabbing as string,
' but you can do whatever with that string[/color red yellow]
MsgBox MyData.GetText(1)
Set MyData = Nothing
Set ts = Nothing
Set fso = Nothing
End Sub