I can open a Word Document using the Event procedure but not a Word Template. Any ideas?
G Guest Sep 19, 2005 #1 I can open a Word Document using the Event procedure but not a Word Template. Any ideas?
A Arvin Meyer [MVP] Sep 19, 2005 #2 Wayne Viles said: I can open a Word Document using the Event procedure but not a Word Template. Any ideas? Click to expand... Like this: Sub OpenLetterTemplate() Dim WordTemplate As String Dim objWord As Word.Application Set objWord = CreateObject("Word.Application") WordTemplate = Application.CurrentProject.Path & "\Letter.dot" objWord.Visible = True End Sub -- Arvin Meyer, MCP, MVP Microsoft Access Free Access downloads: http://www.datastrat.com http://www.mvps.org/access
Wayne Viles said: I can open a Word Document using the Event procedure but not a Word Template. Any ideas? Click to expand... Like this: Sub OpenLetterTemplate() Dim WordTemplate As String Dim objWord As Word.Application Set objWord = CreateObject("Word.Application") WordTemplate = Application.CurrentProject.Path & "\Letter.dot" objWord.Visible = True End Sub -- Arvin Meyer, MCP, MVP Microsoft Access Free Access downloads: http://www.datastrat.com http://www.mvps.org/access