Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Feature request: unlink fields #51

Open
drtyhlpr opened this issue May 5, 2021 · 0 comments
Open

Feature request: unlink fields #51

drtyhlpr opened this issue May 5, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@drtyhlpr
Copy link

drtyhlpr commented May 5, 2021

Thanks for your great script aggain!

So I would love to have a feature to covert all Fields of a Document to text:

CTRL+SHIFT+F9 or macro work around -> works
https://docs.microsoft.com/en-us/office/vba/api/word.fields.unlink

With ActiveDocument.Sections(1).Range.Fields 
 .Update 
 .Unlink 
End With

I could not find any way to unlink fields with PSWrite word. I also tried to check the dll "DocX from Xceed Software" but I did not find a "unlink" functionality. I thought maybe another feature/method may be used to convert the fields to their text values but did not find any alternative solution yet.

@PrzemyslawKlys PrzemyslawKlys added enhancement New feature or request question Further information is requested labels May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants