I am dynamically changing the image property of a picture box in word
with something along the lines of...

LoadPictureToDocument ActiveDocument, "imgMenu", strImage

This is working, however it won't 'refresh' the page so to speak. When
you minimize word then restore it the image has changed, or if you
scroll to the bottom of the page then back up it refreshes.

Is there some sort of form.refresh type function using vba in word?

Thanks
Dan.

Re: refreshing image in ms word using vba by Greg

Greg
Mon Sep 19 21:32:04 CDT 2005

Do you mean something like:

Application.ScreenRefresh

--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

dan_e wrote:
> I am dynamically changing the image property of a picture box in word
> with something along the lines of...
>
> LoadPictureToDocument ActiveDocument, "imgMenu", strImage
>
> This is working, however it won't 'refresh' the page so to speak. When
> you minimize word then restore it the image has changed, or if you
> scroll to the bottom of the page then back up it refreshes.
>
> Is there some sort of form.refresh type function using vba in word?
>
> Thanks
> Dan.