Deletes the specified object from its collection.

Note
The Microsoft Office Assistant and AnswerWizard have been depreciated in the release of the Microsoft Office system.

Syntax

expression.Delete(FileName)

expression Required. A variable that represents an object.

Parameters

Name Required/Optional Data Type Description
FileName Required String The name of the file to be deleted, including the fully-qualified path, file name, and extension.

See also: