Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2006

Tip: Looking for answers? Try searching our database.

Saving & Restoring view properties

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken - 13 Nov 2006 02:23 GMT
I want to save ActiveWindow.view properties and later restore them.
Set obj=ActiveWindow.View
will store the properties in the object obj but when I come to restore,
I cannot use the reciprocal
Set ActiveWindow.View=obj.
Short of resetting each property individually, what is the neatest way
to restore them all.
Stefan Blom - 13 Nov 2006 12:42 GMT
The View property is read-only, so you'll have to set each property
separately.

Signature

Stefan Blom
Microsoft Word MVP

> I want to save ActiveWindow.view properties and later restore them.
> Set obj=ActiveWindow.View
[quoted text clipped - 3 lines]
> Short of resetting each property individually, what is the neatest way
> to restore them all.
Stefan Blom - 14 Nov 2006 09:16 GMT
> The View property is read-only, so you'll have to set each property
> separately.

Clarification: Each property of the View OBJECT must be set
separately.

Signature

Stefan Blom
Microsoft Word MVP

> The View property is read-only, so you'll have to set each property
> separately.
[quoted text clipped - 8 lines]
> way
> > to restore them all.
Stefan Blom - 14 Nov 2006 09:19 GMT
As I stated in a previous message, the View property cannot be set
(unlike, say, the Font property of a Style object).

But note that if you gave a detailed description of what you are
trying to accomplish, someone might be able to suggest a different,
possibly better, approach.

Signature

Stefan Blom
Microsoft Word MVP

> I want to save ActiveWindow.view properties and later restore them.
> Set obj=ActiveWindow.View
[quoted text clipped - 3 lines]
> Short of resetting each property individually, what is the neatest way
> to restore them all.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.