Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-17-2019, 10:42 AM
matapagi2019 matapagi2019 is offline Full screen view to specific document Windows XP Full screen view to specific document Office 2007
Novice
Full screen view to specific document
 
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?



Code:
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
Reply



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
Full screen view to specific document Having trouble using "View/Full screen" jfmcd Excel 1 08-31-2016 05:07 PM
Full screen view to specific document 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

Other Forums: Access Forums

All times are GMT -7. The time now is 08:44 PM.


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