F
Fred Kruger
I write word templates for my company and up until recently we used windows
NT with office 97.
I have image in about 1000 documents which is linked rather than saved in
the template to a specific image located in the Microsoft office\ clipart\wyp
directory.
My company have now started to by machines with windows xp and office xp on
which no loger has the Microsoft office\ clipart\ folder but multi media
folder instead.
When we migrated from windows 3.11 and word 6 on the new NT machines we had
to put in the msoffice\clipart directory so the image appeared in the old
forms.
I dont want to have to do this this time round as it gets complicated and
believe I maybe able to do the switching withcode so heres what i wish to do
-
I can check to see which version of word is being used so i can set the
appropriate directorty where to look for the image however how do I edit the
field code for the image to allow this can anyone.
the field code i have reads - {INCLUDEPICTURE"C:\\Program Files\\Microsoft
Office\\Clipart\\wyp\\SIMPLAND.TIFF"\*MERGEFORMAT\d}
How do I edit this field code in VBA
Cheers in anticipation
NT with office 97.
I have image in about 1000 documents which is linked rather than saved in
the template to a specific image located in the Microsoft office\ clipart\wyp
directory.
My company have now started to by machines with windows xp and office xp on
which no loger has the Microsoft office\ clipart\ folder but multi media
folder instead.
When we migrated from windows 3.11 and word 6 on the new NT machines we had
to put in the msoffice\clipart directory so the image appeared in the old
forms.
I dont want to have to do this this time round as it gets complicated and
believe I maybe able to do the switching withcode so heres what i wish to do
-
I can check to see which version of word is being used so i can set the
appropriate directorty where to look for the image however how do I edit the
field code for the image to allow this can anyone.
the field code i have reads - {INCLUDEPICTURE"C:\\Program Files\\Microsoft
Office\\Clipart\\wyp\\SIMPLAND.TIFF"\*MERGEFORMAT\d}
How do I edit this field code in VBA
Cheers in anticipation