Inserts code from a file into a code module.
object.InsertFile(filename) As String
The InsertFile syntax has these parts:
Part | Description |
---|---|
object | Required. An object expression that evaluates to an object in the Applies To list. |
filename | Required. A String specifying the file containing the code to insert into the code module. |