Sometime in 2003/2004, I created Access/Word/Excel software for my wife's volunteer club. I really am not an Access or VBA programmer, but. . . Don't even remember what version of Windows was active at that time, but the Club managed to keep the same versions on two different laptops until last year. The second laptop finally died. They bought a new laptop and think the software could just be loaded. Most of it is working. Some is not. The Access activates Word Documents. They use to activate and be "visable". The software on this laptop is starting Word, but not making it visable. We are running Access 2016. How can I get the report to become visable when the Access executes this code?
Public Function RenewalReports()
Dim appWordObject As New Word.Application
'open Winword
Set appWordObject = CreateObject("Word.Application")
'open new document based on template (if applicable)
appWordObject.Documents.Add Template:="""C:\catc\membership\Software\RenewalReports.dot"", newtemplate:=false"
'show new doc
appWordObject.Visible = True
End Function
Your help is greatly appreciated.
George
Public Function RenewalReports()
Dim appWordObject As New Word.Application
'open Winword
Set appWordObject = CreateObject("Word.Application")
'open new document based on template (if applicable)
appWordObject.Documents.Add Template:="""C:\catc\membership\Software\RenewalReports.dot"", newtemplate:=false"
'show new doc
appWordObject.Visible = True
End Function
Your help is greatly appreciated.
George