[VB] Convert a field to text in Word

Lapinou -  
 Peter -
Hello,

First of all, I apologize in advance; my question may be a bit silly.
Just to note: I am absolutely terrible at programming, in VB and everything else, and I can’t create a macro without a tutorial.

In my current job, I often export documents generated by a database into Word. The problem is that the filled fields (names, etc.) remain somewhat... well, grayed out, in a compact form, like a field (I warned you I was clueless).

At the slightest modification (layout, text, etc.), my fields turn into "error, source reference not found."

Currently, the only way for me to avoid this was to copy my text, paste it into Notepad, re-copy it from Notepad, and then paste it back... Not very fast!

Would you know how to create a macro that would convert all these fields into basic string characters?

Thank you in advance
Configuration: Windows 2000 Internet Explorer 6.0

4 answers

  1. Popof
     
    Select the text: CTRL + A
    Press CTRL + SHIFT + F9 (Windows)
    19
    1. Peter
       
      Thank you!
      0
  2. Rasputine
     
    Popof, thank you, I had the same problem as our friend

    and the control + shift + F9, it's magic.

    Thank you
    1
  3. Lapinou
     
    I'm bringing up the subject again; I was told that these remaining fields were "dynamic fields" (so dynamic that they actually do whatever they want), does this ring a bell for anyone?
    0