Discussion:
VBA Macro to Unlink a File & Keep Field Codes Locked
(too old to reply)
Leo
2004-12-14 15:15:04 UTC
Permalink
Hello everyone.

I would like some help in creating a simple VBA macro that will unlink a
linked file that contains field codes without turning all the field codes
into static text. I'm planning to lock all the field codes (by selecting
them and pressing Ctrl+F11) first before I link the file, but then later, I
need to unlink the file. It seems that even if I had locked the field codes,
unlinking the file would turn all the field codes into static text. Thanks!

Leo
Word Heretic
2004-12-14 23:00:53 UTC
Permalink
G'day Leo <***@discussions.microsoft.com>,

Unlinking IS turning field codes to static text. No way around it :-)


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice
Post by Leo
Hello everyone.
I would like some help in creating a simple VBA macro that will unlink a
linked file that contains field codes without turning all the field codes
into static text. I'm planning to lock all the field codes (by selecting
them and pressing Ctrl+F11) first before I link the file, but then later, I
need to unlink the file. It seems that even if I had locked the field codes,
unlinking the file would turn all the field codes into static text. Thanks!
Leo
Loading...