Range.CreateNames(Object, Object, Object, Object) Method
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.
Creates names in the specified range, based on text labels in the sheet.
public object CreateNames (object Top, object Left, object Bottom, object Right);
Public Function CreateNames (Optional Top As Object, Optional Left As Object, Optional Bottom As Object, Optional Right As Object) As Object
Parameters
- Top
- Object
Optional Object. True to create names by using labels in the top row. The default value is False.
- Left
- Object
Optional Object. True to create names by using labels in the left column. The default value is False.
- Bottom
- Object
Optional Object. True to create names by using labels in the bottom row. The default value is False.
- Right
- Object
Optional Object. True to create names by using labels in the right column. The default value is False.
Returns
Remarks
If you don’t specify one of Top
, Left
, Bottom
, or Right
, Microsoft Excel guesses the location of the text labels, based on the shape of the specified range.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應