Теперь вы можете установить pip install numpy в Windows!
«Примечание: эта страница имеет только историческое значение, теперь вы можете установить pip-установку для Windows» Источник: https://github.com/ NumPy / NumPy / вики / Что-с-Windows-сборки
You can use a trick to have a 'transactional'-like undo in Word: At the beginning of the macro place a special bookmark on your entire document. You should remove this bookmark again when you are done with your macro. Now, when calling the Undo command, repeat the undo while there is your special bookmark in the document.
The following related question has the details:
Я не тестировал, но, возможно, вы можете использовать UndoClear перед своими действиями и счетчик отмены после?
ActiveDocument.UndoClear
ActiveDocument.Undo 2