![]() |
|
|
|
#1
|
||||
|
||||
|
It appears that the line fails IF your cursor is sitting in a Comment at the time.
Looking at the line of code I would have to say that it should be independent of where the cursor happens to be sitting but that won't be a soapbox worth standing on. Just add a line in front of it that selects something in the body of the document and move along - some things are not worth losing sleep over.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
#2
|
|||
|
|||
|
Thank you for the help. I see what you mean, even in Word, the Footnotes(Endnotes) option group in the ribbon gets grayed out when comments are active.
I see I can make the document active using: Code:
Selection.HomeKey Unit:=wdStory |
|
|
|
Similar Threads
|
||||
| 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 |
Word 97, What's Causing These Document to Look DIfferent
|
dw85745 | Word | 3 | 01-08-2022 07:48 AM |
Template causing slow load of Word
|
plakerl | Word | 3 | 06-15-2011 05:40 PM |
| Word Crash on Quit | masomenos | Word | 2 | 11-09-2010 12:35 AM |
lost drawing toolbar causing Word to crash
|
manyrains | Drawing and Graphics | 1 | 11-07-2009 12:27 AM |