I've created a word 2010 document with embedded files (insert-object...) displayed as an icon
I need to select these icons within a macro to exclude them for protection.
Is it possible to select these file-icons with VBA ?
Sub Demo()
Dim Fld As Field
For Each Fld In ActiveDocument.Fields
If Fld.Type = wdFieldEmbed Then
Fld.Result.Editors.Add wdEditorEveryone
End If
Next
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.