Range.Value[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the value of the specified range.
public:
property System::Object ^ Value[System::Object ^] { System::Object ^ get(System::Object ^ RangeValueDataType); void set(System::Object ^ RangeValueDataType, System::Object ^ value); };
public object Value[object RangeValueDataType] { get; set; }
Public Property Value(Optional RangeValueDataType As Object) As Object
Parameters
- RangeValueDataType
- Object
Optional Object. The range value data type. Can be one of the following XlRangeValueDataType constants:xlRangeValueDefaultdefault
If the specified Range object is empty, returns the value Empty (use the IsEmpty function to test for this case). If the Range object contains more than one cell, returns an array of values (use the IsArray function to test for this case).xlRangeValueMSPersistXML Returns the recordset representation of the specified Range object in an XML format.xlRangeValueXMLSpreadsheet Returns the values, formatting, formulas, and names of the specified Range object in the XML Spreadsheet format.
Property Value
Remarks
When setting a range of cells with the contents of an XML spreadsheet file, only values of the first sheet in the workbook are used. You cannot set or get a noncontiguous range of cells in the XML spreadsheet format.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기