Jump to content
Macro Express Forums

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.
Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...