I have created a form in word that has a button that when you click on it
pulls data from the form and puts it in a new email. When you click the
button, the word doc jumps around and flashes. Is there any way to stop this?

Re: macro to send email by Jean-Guy

Jean-Guy
Thu Mar 08 17:55:43 CST 2007

dmklaus was telling us:
dmklaus nous racontait que :

> I have created a form in word that has a button that when you click
> on it pulls data from the form and puts it in a new email. When you
> click the button, the word doc jumps around and flashes. Is there
> any way to stop this?

Are you using the Selection Object?

Try sandwiching your code with:

Application.ScreenUpdating = False
'Your code
Application.ScreenRefresh
Application.ScreenUpdating = True



--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org