S
Steve Weise
I currently have an Access 2000 DB that runs VB 6.0 code
to open up a Word Session and then execute a macro:
1) Dim oAppPrint As Object
2) Set oAppPrint = CreateObject("Word.Application")
3) oAppPrint.Run MacroName:="xxx"
I need to be able to set the Word startup path prior to
the macro(Step #3) being executed.
In Word VBA, the command is this:
Options.DefaultFilePath(Path:=wdStartupPath) = PathName
How does this translate into VB?
Thanks.
to open up a Word Session and then execute a macro:
1) Dim oAppPrint As Object
2) Set oAppPrint = CreateObject("Word.Application")
3) oAppPrint.Run MacroName:="xxx"
I need to be able to set the Word startup path prior to
the macro(Step #3) being executed.
In Word VBA, the command is this:
Options.DefaultFilePath(Path:=wdStartupPath) = PathName
How does this translate into VB?
Thanks.