Share via


NamedRange.get_Range 方法

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

命名空間:  Microsoft.Office.Tools.Excel
組件:  Microsoft.Office.Tools.Excel (在 Microsoft.Office.Tools.Excel.dll 中)

語法

'宣告
Function get_Range ( _
    Cell1 As Object, _
    Cell2 As Object _
) As Range
Range get_Range(
    Object Cell1,
    Object Cell2
)

參數

傳回值

型別:Microsoft.Office.Interop.Excel.Range

.NET Framework 安全性

請參閱

參考

NamedRange 介面

Microsoft.Office.Tools.Excel 命名空間