![]() |
|
|
|
#1
|
||||
|
||||
|
You will probably find that the line should be
Code:
ActiveDocument.Undo 1 There may also be a moire elegant way of extracting the name from the document, should you wish to share an example document.
__________________
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 |
| Clipboard error Win10 Pro 64 | bkcell | Windows | 1 | 03-24-2018 04:20 AM |
| clipboard error freezes workbook | bkcell | Excel | 4 | 06-18-2017 08:00 PM |
| Do you want to keep your clipboard? | Cam-Bean | Word | 0 | 06-14-2017 02:55 AM |
| Getting the clipboard value: Dataobject error | arjfca | Word VBA | 0 | 12-04-2014 01:51 AM |
Get clipboard Image
|
janith | Word | 2 | 05-27-2012 07:33 AM |