D
David
I am trying to develop a macro that will copy a word
document into a client's folder that is within a master
folder H:\All Clients. The document in question is a
selection from a mailmerge file where we are trying to
keep copies of such documents on clients' electronic
archives.
The clients' folders are consistently named with a five
digit number followed by the client's name. The macro I
have can already determine the number from the client
reference within the document I want to save.
My problem is that although the file search facility has
a wild card facility I can find no way of doing a wild
card entry for a folder.
Thus if I am trying to use to save a file to "60020 Mr J
Smith" I need some way of using ChangeFileOpenDirectory
to use "60020*"
Hope someone out there can point me in the right direction
Thanks!
document into a client's folder that is within a master
folder H:\All Clients. The document in question is a
selection from a mailmerge file where we are trying to
keep copies of such documents on clients' electronic
archives.
The clients' folders are consistently named with a five
digit number followed by the client's name. The macro I
have can already determine the number from the client
reference within the document I want to save.
My problem is that although the file search facility has
a wild card facility I can find no way of doing a wild
card entry for a folder.
Thus if I am trying to use to save a file to "60020 Mr J
Smith" I need some way of using ChangeFileOpenDirectory
to use "60020*"
Hope someone out there can point me in the right direction
Thanks!