Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.23 KB

Word.Document.OptimizeForWord97.md

File metadata and controls

51 lines (31 loc) · 1.23 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Document.OptimizeForWord97 property (Word)
vbawd10.chm158007630
vbawd10.chm158007630
Word.Document.OptimizeForWord97
9db75633-508c-eddb-1ee9-5c8a2e9969b2
06/08/2017
medium

Document.OptimizeForWord97 property (Word)

True if Microsoft Word optimizes the current document for viewing in Microsoft Word 97 by disabling any incompatible formatting. Read/write Boolean.

Syntax

expression. OptimizeForWord97

expression A variable that represents a Document object.

Remarks

To optimize all new documents for Word 97 by default, use the OptimizeForWord97byDefault property.

Example

This example checks the current document to see if it is optimized for Word 97; if it is not, the example asks the user whether it should be.

If ActiveDocument.OptimizeForWord97 = False Then 
 x = MsgBox("Is this document targeted at " _ 
 & "Word 97 users?", vbYesNo) 
 If x = vbYes Then _ 
 ActiveDocument.OptimizeForWord97 = True 
End If

See also

Document Object

[!includeSupport and feedback]