M
mr tom
Hi,
I've written some code to use form fields to create a filename, and save is
via a macro - e.g.
ActiveDocument.SaveAs FileName:="j:\CPS\ACTL\Recn requests\2005\Terms - " &
TermsSchemeName & " - " & TermsSCN & ".doc"
What I want to build is something that increments the filename by one if the
filename is already present. There is a tutorial on the Word MVP website
that does this - but what I'm looking for is a bit different - I don't want a
new version each time somebody saves their work - I'd rather check the
proposed filename against filenames in that folder, and if it's already
present, give three options:
1 - to increment filename by one
2 - to overwrite
3 - to cancel
Any thoughts?
I've written some code to use form fields to create a filename, and save is
via a macro - e.g.
ActiveDocument.SaveAs FileName:="j:\CPS\ACTL\Recn requests\2005\Terms - " &
TermsSchemeName & " - " & TermsSCN & ".doc"
What I want to build is something that increments the filename by one if the
filename is already present. There is a tutorial on the Word MVP website
that does this - but what I'm looking for is a bit different - I don't want a
new version each time somebody saves their work - I'd rather check the
proposed filename against filenames in that folder, and if it's already
present, give three options:
1 - to increment filename by one
2 - to overwrite
3 - to cancel
Any thoughts?