Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

LinkBack Thread Tools Display Modes
Old 03-17-2019, 10:42 AM
matapagi2019 matapagi2019 is offline Windows XP Office 2007
Join Date: Mar 2019
Posts: 12
matapagi2019 is on a distinguished road
Default Full screen view to specific document

The code below works fine. This can display a document (MyAgenda.docm) in full screen view.

The problem is : When I open a new document or several, it will open also in full screen.
How do I display full screen view mode on only one document (i.e.: MyAgenda.docm), and display normal screen view mode in another document?

Sub Macro1()
Dim ObjWord As Object
Dim ObjDoc As Object
 Set ObjWord = Word.Application
 Set ObjDoc = MsWord.Documents.Open("D:\MyAgenda.docm")
    ObjWord.Visible = True
    ObjDoc.ActiveWindow.View.FullScreen = True
End Sub
Reply With Quote

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
full screen view for projectr but normal view on PC rasrjs PowerPoint 0 04-15-2017 06:19 AM
Having trouble using "View/Full screen" jfmcd Excel 1 08-31-2016 05:07 PM
full screen picture in ppt jamshid PowerPoint 1 09-18-2011 09:13 AM
Some info only visible in print preview or full screen view Cody_Anderson Word 2 12-15-2010 01:29 PM
Full Screen JPG for book. dark86 Drawing and Graphics 3 05-10-2010 02:01 AM

All times are GMT -7. The time now is 05:58 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc. is not affiliated with Microsoft