PDA

View Full Version : How to rename the worddoc from the number mentioned in the body of the doc



Jagdev
11-20-2014, 05:01 AM
Hi Experts

Is it possible to rename the worddoc with the number mentioned in the body of the doc.

Ex Policy number - 12345.

The word "Policy number" will be part of the doc and is it possible to create a macro which will use the number after the word "Policy number" and rename the doc with it.

Please refer the attached file for your reference.

Regards,
Jaggi

gmayor
11-20-2014, 06:48 AM
If you are going to post in various forums, please crosspost the messages to save unnecessary duplication of effort by contributors: http://www.msofficeforums.com/word-vba/23610-how-rename-word-doc-name-mentioned-body.html

Jagdev
11-20-2014, 08:49 PM
Hi

Sorry for posting the query on 2 different forum.

Regards,
Jagdev

macropod
11-20-2014, 10:05 PM
There is no objection to cross-posting, per se. For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184