Сегодняшняя сессия вопросов и ответов приходит к нам благодаря SuperUser - подразделению Stack Exchange, основанной на сообществах сайтам Q & A.
Вопрос
Читатель SuperUser Томас хочет знать, как копировать удаленный текст в Microsoft Word:
I want to copy text that has been marked as deleted in earlier revisions of my document, then paste it into another document. But when I select it with my mouse and go to copy it, it says “The selection is marked as deleted text” and nothing is copied to the clipboard. Is there a solution other than rejecting the deletion?
Как скопировать удаленный текст в Microsoft Word?
Ответ
Для нас ответитель SuperUser DavidPostill:
Solution 1
- Select the deleted text plus an extra word.
- Then you should be able to copy it without getting the error message.
- Paste the text into the other document.
- Delete the extra word.
Source: Can’t Copy Text Marked as Deleted [Office Forums]
Solution 2
Use the following VBA code:
Now I can go into any Track Change balloon, select deleted text and hit Alt-1. Yes, perhaps it is silly, but you cannot copy selected deleted text in VBA either. However, you can make a public string variable that selects text.
Now I can move the selection out of the balloon to wherever I want. I can hit Alt-2 and the previously selected deleted text is typed in. It will of course be marked as a Track Change insert.
Note that when you move the selection out of the Track Change balloon (where you grabbed the deleted text), you can use the selection however you like. The deleted text’s contents are in a string variable, NOT text associated with the selection itself. You can do other stuff and when you are ready, type in the deleted text with an Alt-2.
Source: Word Says “Marked as Deleted Text” [Tek-Tips]
Есть что добавить к объяснению? Отключить звук в комментариях. Хотите узнать больше ответов от других пользователей Windows? Посмотрите здесь полную дискуссионную тему.