SectionProperties.Rename 方法 (PowerPoint)SectionProperties.Rename method (PowerPoint)

會使用指定的名稱來重新命名指定的區段。Renames the specified section with the specified name.


expressionexpression. Rename( _sectionIndex_, _sectionName_ )

_運算式_代表SectionProperties物件的變數。expression A variable that represents a SectionProperties object.


名稱Name 必要/選用Required/Optional 資料類型Data type 描述Description
sectionIndexsectionIndex 必要Required IntegerInteger 要重新命名之區段的索引。The index of the section to rename.
sectionNamesectionName 必要Required StringString 區段的新名稱。The new name of the section.


如果 sectionName 是空的,則會指派該區段的預設區段名稱。If sectionName is empty, the section is assigned the default section name.

另請參閱See also

SectionProperties 物件SectionProperties Object

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.