W
Wafty Cranker
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 do everything else that needs doing. 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.
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 do everything else that needs doing. 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.
Many thanks,
Wafty