AddFromFile Method (ProjectItems Collection)

       

Adds a ProjectItem object from a file already installed in the project directory structure.

Syntax

Sub AddFromFile (Filename As String) As ProjectItem

This syntax has these parts:

Part Description
Filename Required String. A full pathname indicating the file the project item is associated with.