Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
If this is what you want, I am not getting the reference to Word in your subject line?Is there any way to force the link to open the TXT file via Excel instead of Notepad?
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