
Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Hi Graham,
To use the macro, you simply select the field to be converted, then run the
macro to put the 'plain text' version into the clipboard. Then simply select
wherever you want the output to go, be it Word, notepad, your email client,
or whatever, and paste the results (eg Ctrl-V) into it.
In Dixie's case, the lack of a 'Microsoft Forms 2.0 object' in the available
references suggests that some of the Word/Office 2000 functionality may not
have been installed. Any idea which components install that library?
Cheers
> I had high hopes for this macro, but it doesn't work for me either and I do
> have all the quoted references checked. I get no error messages, but no
[quoted text clipped - 105 lines]
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.788 / Virus Database: 533 - Release Date: 1/11/2004
dixie - 07 Nov 2004 05:02 GMT
YES!! I got it to work. I did a browse for the Microsoft Forms 2.0
reference and I found a C:\WINDOWS\system32\FM20.dll and just selected it.
Voila, the reference Microsoft Forms 2.0 Object Library was showing as
ticked. Then I had a go at highlighting the Field codes and running the
macro. I then went to another empty word document and did a CTRL V to paste
it and there were all the field codes using the normal {} keys instead of
the proper CTRL F9 ones. Macropod, you're a genius.
dixie
> Hi Graham,
>
[quoted text clipped - 129 lines]
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.788 / Virus Database: 533 - Release Date: 2/11/2005
dixie - 07 Nov 2004 05:34 GMT
Right, got it working fine now, but it only works on the one template file.
Can I install the macro code so that it works universally on any mailmerge
document on my computer. If so, where do I put the code?
dixie
> Hi Graham,
>
[quoted text clipped - 129 lines]
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.788 / Virus Database: 533 - Release Date: 2/11/2005
Graham Mayor - 07 Nov 2004 08:08 GMT
Put it in normal.dot

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Right, got it working fine now, but it only works on the one template
> file. Can I install the macro code so that it works universally on
[quoted text clipped - 146 lines]
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.788 / Virus Database: 533 - Release Date: 2/11/2005
dixie - 07 Nov 2004 05:44 GMT
Another question comes to mind now that this is working. Can you sort of do
that in reverse, such that your could publish the code in an email or text
message and it could be pasted into a mail merge document and then have the
ordinary brackets changed to proper field code brackets again, meaning that
the person would not have to manually copy the code into the mail merge
document.
dixie
> Hi Graham,
>
[quoted text clipped - 129 lines]
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.788 / Virus Database: 533 - Release Date: 2/11/2005
Graham Mayor - 07 Nov 2004 08:07 GMT
No who feels stupid? :(
Good one!
It shouldn't take much effort to add the code to paste the result in the
document now I know what it is supposed to be doing ;)

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Hi Graham,
>
[quoted text clipped - 136 lines]
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.788 / Virus Database: 533 - Release Date: 2/11/2005
When I finally found the right dll and got the forms 2.0 reference in place,
I tried to use it and the first time it didn't work for me either. It was
then I realised that when macropod said select the field, he meant totally
selected as in highlighted by sweeping the mouse cursor through it. If you
just click in it, it does all go grey, but it doesn't work.
dixie
>I had high hopes for this macro, but it doesn't work for me either and I do
> have all the quoted references checked. I get no error messages, but no
[quoted text clipped - 105 lines]
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.788 / Virus Database: 533 - Release Date: 1/11/2004