1

Тема: ActiveDocument.Variables, DocVariable не работают в Word 2007

У меня в Word 2007 SP2 переменные не сохранялись, вернее при закрытии и открытии документа их значения портились. Проблема решилась установкой SP3.

Кому интересно, ниже приведена выдержка с какого-то англоязычного форума, откуда я и понял, что надо обновляться.


If you're trying to save a Word 2007 doc with variables in it, you may
run into a problem that Microsoft introduced last spring in a security
update -- document variables can get corrupted when you save in .docx
format.

The easy solution is to use document properties instead of variables.
They work pretty much the same way as variables, but seem to be more
reliable. Look at ActiveDocument.CustomDocumentProperties

Gary




That problem has long since been fixed.




When was it fixed?  Was it recently?  We are havign the same problem




5/19/2010 2:33:34 PM
It was around August last year. I can't recall all the details, but the
problem came with a security update - KB969604 - which I understand was
later fixed. However uninstalling the above update and telling the update
installer not to put it back should fix it.




The only thing is that documents that were buggered by the problem, remain
buggered.





That's very true. It was a nasty bug sad

Мой шаблон/макросы для автоматической нумерации Word 2003, 2007, 2010 и т.д. (стили, названия, перекрестные ссылки, LISTNUM). Делюсь: http://vk.com/club_alex_bir

2

Re: ActiveDocument.Variables, DocVariable не работают в Word 2007

Word 2007 это недоработанная переходная версия. Надежнее использовать 2010