Rename

This method renames the item specified by OldName from OldName to NewName.

Syntax

Rename (OldName As String, NewName As String)
Parameter Description

OldName

Name of item to rename.

NewName

New name of item in the collection.