In this article I would like to show a way to generate file names with sequential numbers per date via the use of regular expressions. The benefit of this approach is, that you can use it with varying name parts. So you don't need to know the position of the date and version number. Additionally the date can be different from the file date, so you don't have to rely on the file date for sorting.
Skip to main content. Select Product Version. All Products. For a Microsoft Word 97 and Word version of this article, see
Defines methods and properties that a CollectionView implements to enable specifying adding items of a specific type. The following example enables a user to add various types of items to a collection. The user can enter a new item and submit the entry or cancel the transaction.