![]() |
|
#2
|
||||
|
||||
|
As the bookmark is from a form field, the error relates to the fact that the field construction is toggled. It would be preferable to leave the field locked and use
Code:
ActiveDocument.SaveAs FileName:=ActiveDocument.FormFields("ActName").Result
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
SaveAs problem
|
SixSigmaGuy | Word VBA | 5 | 05-03-2016 10:49 AM |
| Find Bookmark, move to bookmark, execute code, repeat | raymm3852 | Word VBA | 10 | 04-15-2016 06:21 PM |
SaveAs FileFormat
|
ch1325 | Excel Programming | 8 | 04-11-2016 04:24 PM |
VBS saveas API behaviour is different from Menu saveas
|
Ahmed AbuZekry | Word VBA | 2 | 03-23-2015 02:14 AM |
saveAs ChDir _
|
tinfanide | Excel Programming | 4 | 11-05-2011 01:40 AM |