View Single Post
 
Old 09-29-2022, 01:55 AM
Wrox23 Wrox23 is offline Windows 11 Office 2021
Novice
 
Join Date: Sep 2022
Posts: 12
Wrox23 is on a distinguished road
Wink Replace umlauts in fields

Hello all,

I often get large Word documents that contain umlauts and spaces in field names. When importing them later into InDesign, this always results in problems. I have now tried to formulate a regex search to replace the umlauts and spaces only in the IncludePicture fields. It worked for the umlauts, but not for the spaces.

Maybe there is a more elegant solution in VBA to do everything in one go. My knowledge of VBA is quite rudimentary. If someone could show me an approach, that would be a great help for me.

"äöü " => "aeoeue_"

Many greetings - Wrox23
Reply With Quote