VBA Name Statement

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

The Excel VBA Name statement changes the name of file or directory to a new given name.

VBA Name Statement Syntax

The syntax for the VBA Name statement in VBA is:

Parameters

oldName
The current full path to the file or directory you want to rename.
newName
The new full path to the file or directory.

Example VBA Name Statement usage

Simply the best place to learn Excel VBA