troubleshooting Question

Maximize a word minimized

Avatar of dmpuser
dmpuser asked on
Programming
14 Comments1 Solution433 ViewsLast Modified:
I must check if a document word, open in this way....

77     Set WordApp = Nothing
78     Set worddocument = Nothing


83  Set WordApp = New Word.Application
86   Set worddocument = WordApp.Documents.Open(percorso & "\" & Forms!reword.Elenco5, , , , , , False)

worddocument.CommandBars("Menu Bar").Controls(6).Controls(7).Enabled = False
worddocument.CommandBars("Menu Bar").Controls(6).Controls(6).Enabled = False
worddocument.CommandBars("Menu Bar").Controls(6).Controls(9).Enabled = False
worddocument.CommandBars("Menu Bar").Controls(6).Controls(10).Enabled = False
worddocument.CommandBars("Menu Bar").Controls(6).Controls(11).Enabled = False
worddocument.CommandBars("Menu Bar").Controls(6).Controls(12).Enabled = False

worddocument.CommandBars("Menu Bar").Controls(6).Controls(8).Enabled = False

worddocument.CommandBars("Menu Bar").Controls(1).Enabled = False
worddocument.CommandBars("standard").Controls(1).Enabled = False
worddocument.CommandBars("standard").Controls(2).Enabled = False
worddocument.CommandBars("standard").Controls(4).Enabled = False
worddocument.CommandBars("standard").Controls(5).Enabled = False
100    WordApp.Visible = True

...is open and minimized in the bar of windows .If yes It must maximized in the full screen !!
ASKER CERTIFIED SOLUTION
0xC0DEB07

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros