One command button is supposed to open word 2000. There I have a macro which is supposed to open. The Word 2000 Help says to open like this: winword.exe/mmacroname . I can't get that to work. What I am doing wrong?
Sorry! The macro is NOT an access macro. Those I do all the time. I have a WORD macro that goes to a table and sets up the data in a certain way. I want to press the access command button to start word with its macro. But word starts without its macro so I am asking how does one make word begin by processing a macro?
Private Sub Comando202_Click()
On Error GoTo Err_Comando202_Click
Dim objword As Object
Set objword = CreateObject("word.Application"
With objword
.Visible = True
.Documents.Open ("d:\pasta\pauloaccess.doc"
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.