Link to home
Start Free TrialLog in
Avatar of hindersaliva
hindersalivaFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Word VBA - add document window to not be maximised

When I run this code the resulting Word window is maximised. How can I force it not to be maximised?

        Documents.Add
        Selection.PasteAndFormat (wdFormatOriginalFormatting)    

Open in new window


Also, the formatting I get is not the 'original formatting'. What is wrong here?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Joe Howard
Joe Howard
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hindersaliva

ASKER

Sorry. I'm closing an old question. I think I solved it with this solution.