![]() ![]() Set oRng = ActiveDocument.Bookmarks(strBMTarget).Range 'Set target range for the file being inserted. StrFile = Chr(34) & pDataPath & strFileName & Chr(34) 'Enclosed path and file name in quotation marks. Note the use of double "\\" in the path construction.Ĭonst pDataPath As String = "D:\\Data Stores\\IncludeText Tip\\" 'Identify the file name and path of the data source. Sub IncludeTextFile(ByRef strFileName As String, strBMTarget As String)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |