Name
range
.Value([RangeValueDataType
]) [= setting
]
Synopsis
Sets or returns the value of the specified range.
Argument |
Settings |
---|---|
|
|
The following code returns the values of the specified range in XML format:
ActiveSheet.Range("G1:G5").Value(xlRangeValueMSPersistXML)
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.