運算式。ListNames expression代表Range物件的變數。 傳回值 Variant 註解 使用Names屬性可傳回工作表上所有名稱的集合。 範例 此範例從 Sheet1 中儲存格 A1 的位置開始,貼上已定義名稱的清單。 此範例將貼上工作表 Sheet1 上定義的活頁簿層次名稱和工作表層次名稱。
Range.ListNames 方法 参考 反馈 定义 命名空间: Microsoft.Office.Interop.Excel 程序集: Microsoft.Office.Interop.Excel.dll 将所有显示的名称列表粘贴到工作表上,从区域中的第一个单元格开始。 C# 复制 public object ListNames (); 返回 Object 注解 Names使用 属性可返回工作表上所有名称的集合。
Worksheets("Sheet1").Range("A1").ListNames Soporte técnico y comentarios¿Tiene preguntas o comentarios sobre VBA para Office o esta documentación? Vea Soporte técnico y comentarios sobre VBA para Office para obtener ayuda sobre las formas en las que puede recibir soporte técnico y enviar ...
Namespace: Microsoft.Office.Tools.Excel Assembly: Microsoft.Office.Tools.Excel.dll Pastes a list of all displayed names onto the worksheet, beginning with the first cell in the NamedRange control. C# 複製 public object ListNames (); Returns Object Remarks Use the Names property to...
Use any of the proposed ways to insert a name into a formula:On the Formula tab, in the Defined Names group, click Use in Formula: Then choose the name: On the Formula bar, type the first letters of the range name, Excel opens the list of matching named ranges: or Press F3 ...
Excel actually defines a few named ranges automatically. These will not appear in your list and can be overwritten. If a named range containsmore than 253 characters, you cannot select it from the Name box. Named rangesare not case sensitiveso all named ranges (in a single workbook) must ...
In thePaste Namedialog box, selectPaste List. SelectOK. You will now see two columns in the spreadsheet—range names and the cell references that each range holds. Need more help? You can always ask an expert in theExcel Tech Communityor get support inCommunities. ...
In the New Name dialog box, in the Name box, type the name you want to use for your reference. Note: Names can be up to 255 characters in length. To specify the scope of the named range, in the Scope drop-down list box, select Workbook or the name of a worksheet in the workbook...
PivotTableChangeList 表示用户基于 OLAP 数据源对数据透视表中的值单元格所做的更改的列表。 PivotTables 指定工作表上 PivotTable 所有对象的集合。 PivotValueCell 提供一种在实际单元格 (Range 对象) 不可用的情况下公开单元格值的方法。 PlotArea 代表图表的绘图区。 该区域为绘制图表数据的区域。 Point 代...
PivotTableChangeList 表示用户基于 OLAP 数据源对数据透视表中的值单元格所做的更改的列表。 PivotTables 指定工作表上 PivotTable 所有对象的集合。 PivotValueCell 提供一种在实际单元格 (Range 对象) 不可用的情况下公开单元格值的方法。 PlotArea 代表图表的绘图区。 该区域为绘制图表数据的区域。 Point 代...