Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-17-2017, 09:19 PM
gmayor's Avatar
gmayor gmayor is offline Show a hidden document window. Windows 10 Show a hidden document window. Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Assign a variable name to the document e.g.
Code:
Dim oDoc As Document
    Set oDoc = Documents.Open(FileName:="C:\Path\Example.docx", Visible:=False)
    MsgBox oDoc.Name & " is not visible"
    oDoc.ActiveWindow.Visible = True
    MsgBox oDoc.Name & " is visible"
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Working Time window won't show all shifts CLGarvock Project 1 06-05-2017 04:26 PM
Show a hidden document window. How to show hidden objects/images on slide show JustSayHi PowerPoint 3 07-16-2016 12:00 AM
Show a hidden document window. Top of my VBA code window is hidden and I can't seem to move it mrsjetset Word VBA 1 06-26-2016 07:41 AM
Show a hidden document window. Show complete file name in document window stardog Word 1 06-03-2016 03:41 PM
Hidden Fonts Still Show in Office Dropdown Font Menus stlsailor Word 0 07-13-2013 06:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft