Settings.Contents Property

<< Click to Display Table of Contents >>

Navigation:  Developer Edition > Visual Basic for Applications (VBA) > Object Model Reference > Settings Object > Properties >

Settings.Contents Property

Previous pageReturn to chapter overviewNext page

Returns or sets a series of options specifying which formatting properties to compare. Contents constant.




expression. A variable representing a Settings object.




This example also compares comments and Excel names.


With .Settings

  .Contents = ContentFlag_Comments + ContentFlag_Names

End With