Part | Description | |
object | Required. An object expression that evaluates to an object in the Applies To list. | |
filename | Required. A string expression specifying the name of the file you want to add to the project or module. If the file name isn't found and a path name isn't specified, the directories searched by the Windows OpenFile function are searched. |
Application.VBE.CodePanes(3).CodeModule.AddFromFile "c:\Code Files\book2.frm"