K
kozaw
Hi,
How do I know the limitation on nesting level of content controls.
I created a word 2007 template including multiple content controls,
some of which are nested (just one level.)
As I want to reuse these phrases in latter part of document, I set the
bookmarks on exact location of my desired content controls (also
obeying the bookmark naming rules).
As far as this no problem occurred.
When the document was reopened (yes! as a new doc or itself), word
says following.
"THE OFFICE OPEN XML FILE <FILE NAME> CANNOT BE OPENED BECAUSE THERE
ARE PROBLEMS WITH THE CONTENTS.
Details: Unspecified error
Location: part:/word/document.xml, line:2, Column:1548"
And WORD ask me to repair and make a newly recovered file for me. I
start to squeeze the problematic area by narrowing the range of
document each time reopening it. just line # and column # are varied
in error dialog boxes.
Finally I found the problem. i.e., setting Bookmark to exact range of
single (unnested) content control is causing problem.
My only workaround is deleting all bookmarks by macro before closing
the document, and re-setting bookmarks to desired content controls on
event of open. But it cost time, and very confusing.
Please help me to solve the problem.
NB: I created the problem faced dotx file with only 3 words. And would
like to present to WORD MVPs for assistance in problem solving. Is it
a known bug?
Brgds,
Ko Zaw
How do I know the limitation on nesting level of content controls.
I created a word 2007 template including multiple content controls,
some of which are nested (just one level.)
As I want to reuse these phrases in latter part of document, I set the
bookmarks on exact location of my desired content controls (also
obeying the bookmark naming rules).
As far as this no problem occurred.
When the document was reopened (yes! as a new doc or itself), word
says following.
"THE OFFICE OPEN XML FILE <FILE NAME> CANNOT BE OPENED BECAUSE THERE
ARE PROBLEMS WITH THE CONTENTS.
Details: Unspecified error
Location: part:/word/document.xml, line:2, Column:1548"
And WORD ask me to repair and make a newly recovered file for me. I
start to squeeze the problematic area by narrowing the range of
document each time reopening it. just line # and column # are varied
in error dialog boxes.
Finally I found the problem. i.e., setting Bookmark to exact range of
single (unnested) content control is causing problem.
My only workaround is deleting all bookmarks by macro before closing
the document, and re-setting bookmarks to desired content controls on
event of open. But it cost time, and very confusing.
Please help me to solve the problem.
NB: I created the problem faced dotx file with only 3 words. And would
like to present to WORD MVPs for assistance in problem solving. Is it
a known bug?
Brgds,
Ko Zaw