S
Steve C
I wish to use a variable to identify and insert an existing Word document
(7A.doc) into another. 7A.doc is stored in the location G:\Sample. If my
variable is called Category and stores the value "7A.doc", I am experiencing
a "Run-time error 5174 File could not be found" when I use it as follows:
Selection.InsertFile FileName:="G:\Sample\Category", Range:="",
ConfirmConversions:=False, Link:=False, Attachment:=False
What am I doing wrong? Thanks!
Steve C
(7A.doc) into another. 7A.doc is stored in the location G:\Sample. If my
variable is called Category and stores the value "7A.doc", I am experiencing
a "Run-time error 5174 File could not be found" when I use it as follows:
Selection.InsertFile FileName:="G:\Sample\Category", Range:="",
ConfirmConversions:=False, Link:=False, Attachment:=False
What am I doing wrong? Thanks!
Steve C