![]() |
#1
|
|||
|
|||
![]()
I have reduced my script and the attached Word doc to the bare minimum to reproduce this problem.
Starting with a document with a single word and 1 endnote, the following code runs fine: Code:
ActiveDocument.Range.EndnoteOptions.numberStyle = 0 Run-time error '4605': This method or property is not available because the object refers to a footnote, endnote, or comment. In troubleshooting this, sometimes I will not get the error. But if I delete the comment, and then add a new one again, it will give the error again. I just did another test without any endnotes, and get the error when a comment is added to just a single word in the document. This is my first experience dealing with Comments, so not sure yet how to work around them in my code. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iCloud Outlook Add In is causing Outlook 2021 to crash and got disabled | andrease | Outlook | 2 | 08-25-2022 12:42 AM |
![]() |
dw85745 | Word | 3 | 01-08-2022 07:48 AM |
![]() |
plakerl | Word | 3 | 06-15-2011 05:40 PM |
Word Crash on Quit | masomenos | Word | 2 | 11-09-2010 12:35 AM |
![]() |
manyrains | Drawing and Graphics | 1 | 11-07-2009 12:27 AM |