![]() |
#1
|
|||
|
|||
![]()
I would like to create a macro that renames an open document, and saves the newly named document to the same folder as the open document.
For example, the file I have open is located in H:\, and the file name is 00000 Frame aa 0.docx. After running the macro, the new file name should be: 00000 Frame aa 01.docx Or, the open document's file name is 12345 de Ville cv 01.docx, and the new file name should be 12345 de Ville cv 02.docx. In essence, the new file name should be very similar to the open document's, except that the number before .docx should be one higher. To add a wrinkle, I would also like the macro to display a warning if the new document name is already in the folder. Thanks! Daniel |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can not save read only document | crescere | Word | 1 | 03-30-2013 11:19 PM |
Word ask to save template whenever i save a derived document | jorbjo | Word | 3 | 10-04-2012 10:52 AM |
Using Save As on a Read Only Document | jenc13 | PowerPoint | 1 | 01-18-2012 11:34 AM |
![]() |
don madsen | Word | 6 | 09-16-2011 09:02 PM |
![]() |
unit213 | Outlook | 1 | 09-26-2007 08:15 PM |