Jump to content
Macro Express Forums
Cory

File Name Incrementor

Recommended Posts

This is one that I use a lot when dealing with scanned PDF files and such. It basically takes a proposed file name and tests to see if it already exists. If it does it adds a numerical sequence on the end. Very handy for blind copies. Avoids the need to test for existence and re-prompt the user when the exact file name isn’t important. The routine doesn’t do any file manipulation but rather returns a unique name.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×