You may also use the following:
myfile = "this is my file.txt"
Shell("Winword " + chr$(34) + myfile + chr$(34))
where chr$(34) is the quote you need
Give a look.
I hope you find this useful. Bye bye.
'--------------------------------------------------------------------------------
' This macro was created by the Macro Recorder.
' Session Document: "monitoraggio erogazioni"
' Date: 14/12/2001
' User: barsotti
'...
If you want, you may use a line like (see the end of the above example)
Print # filenum%,screenbuf$; chr$(12) 'this actually sends the screen print to the printer
where chr$(12) send a FormFeed to get out the paper.
mbars
My Extra! (6.5 sp1) macro has at top
...
Global g_HostSettleTime%
...
then
...
g_HostSettleTime = 1200 ' milliseconds
...
every call such:
Sess0.Screen.WaitHostQuiet(g_HostSettleTime)
will (several times) wait 1,2 second then the macro goes on, BUT occasionally the macro seems to hang-up and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.