![]() |
|
#6
|
||||
|
||||
|
Change
Code:
oRng.Fields.Add oRng, wdFieldFileName, " \p", False Code:
oRng.Fields.Add oRng, wdFieldFileName, , False
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Can DocumentBeforeSave replace FileSaveAs
|
Macer | Word VBA | 2 | 06-05-2015 10:03 PM |
This macros are not working in office english version 2007
|
hans | Excel Programming | 4 | 12-10-2011 07:03 AM |
Macros not working when template is emailed
|
EMH | Excel Programming | 1 | 07-06-2011 09:24 AM |
Macros not working in word 2010
|
louise_chapman | Word VBA | 3 | 10-25-2010 08:34 AM |
| FileSaveAs with Code | bsmith | Office | 0 | 01-05-2006 08:43 AM |