W
waftycranker
Hi,
I have to process some 5,000 documents, and need to change their
filename at the same time.
All of the documents have a name in the header in the format:
Firstname Middlename (where it applies) Surname
I need to save the documents as:
Surname, Firstname Middlename.doc
I know how to change the directory they're saved to, and I've managed
to set up the macro to run on all files in a given folder. This is the
only thing that's
stopping me from being able to run the macro.
I don't know what terms to actually search for to be able to find help
on this, so I'm trying here.
I've tried to create a Function that will let me create the filename,
and then use that as the Save As option, but I can't get it to work, as
I can't reference the Function in the SaveAs Filename:=" " It will
only save as what I put in the " "... I've tried using brackets, and
nothing, but no luck.
Any help would be greatly appreciated, even if it's just to tell me
what terms I need to search for on the web, or a website that you think
could help.
Many thanks,
Wafty
I have to process some 5,000 documents, and need to change their
filename at the same time.
All of the documents have a name in the header in the format:
Firstname Middlename (where it applies) Surname
I need to save the documents as:
Surname, Firstname Middlename.doc
I know how to change the directory they're saved to, and I've managed
to set up the macro to run on all files in a given folder. This is the
only thing that's
stopping me from being able to run the macro.
I don't know what terms to actually search for to be able to find help
on this, so I'm trying here.
I've tried to create a Function that will let me create the filename,
and then use that as the Save As option, but I can't get it to work, as
I can't reference the Function in the SaveAs Filename:=" " It will
only save as what I put in the " "... I've tried using brackets, and
nothing, but no luck.
Any help would be greatly appreciated, even if it's just to tell me
what terms I need to search for on the web, or a website that you think
could help.
Many thanks,
Wafty