Value Property

Microsoft Office Web Components Visual Basic

ShowValue property as it applies to the Name and Spreadsheet objects.

ShowValue property as it applies to the Borders, ByRef, ParameterValue, and PivotDetailCell objects.

ShowValue property as it applies to the Range object.

ShowValue property as it applies to the PivotAggregate, PivotAxisMember, PivotColumnMember, PivotMember, PivotPageMember, PivotResultMemberProperty, PivotRowMember, and SchemaProperty objects.

Example

This example creates a merged cell from the specified range and then places a value in the merged cell.

Sub MergeCells()

   Spreadsheet1.Range("A1:C3").Merge

   Spreadsheet1.Range("A1").Value = "Monday"

End Sub