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
Tue Sep 20 05:01:04 CDT 2005

dan_e,

Yeah, you said that earlier. Does Application.ScreenRefresh work?

--
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.



Re: refreshing image in ms word using vba by dan_e

dan_e
Tue Sep 20 20:47:12 CDT 2005

Sorry Greg, don't know how i posted that twice.

Tried Application.ScreenRefresh but to no avail.

Still isn't refreshing the image in my imagebox.

Is there anything else i could try?

Thanks again,
Dan.


Re: refreshing image in ms word using vba by Greg

Greg
Tue Sep 20 21:07:34 CDT 2005

Sorry back, Dan. I am all out of ideas.


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

dan_e wrote:
> Sorry Greg, don't know how i posted that twice.
>
> Tried Application.ScreenRefresh but to no avail.
>
> Still isn't refreshing the image in my imagebox.
>
> Is there anything else i could try?
>
> Thanks again,
> Dan.



Re: refreshing image in ms word using vba by dan_e

dan_e
Tue Sep 20 21:14:46 CDT 2005

Oh that's ok Greg, i appreciate your help thus far.

Very odd tho..if you minimize word then restore...the picture has
changed. One would think a .screenrefresh function would do the same
task.

Haha is the only part left not working on this app. Very frustrating.

Will continue looking, if i find anything, will post for trivial
purposes.

Thanks again,
Dan.


Re: refreshing image in ms word using vba by dan_e

dan_e
Sun Sep 25 20:56:19 CDT 2005

still no resolution. If anyone knows what i'm doing wrong, would love
to hear from you.

cheers,
Dan.