Creating word doc with FILLIN field hides all toolbars

B

Barry Gilbert

I have some code in a VB6 app that opens a Word doc based on a template. It
looks like this:

Dim wordApp As Word.Application
Set wordApp = CreateObject("Word.Application")
wordApp.Documents.Add Template:=(strPathToTemplate), NewTemplate:=False
wordApp.Application.Visible=True

When I create a doc manually, everything works as expected. However, when I
open it from this code, the Word window opens with no toolbars visible.

Any ideas would be helpful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top