macro to send email

D

dmklaus

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?
 
J

Jean-Guy Marcil

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
[email protected]
Word MVP site: http://www.word.mvps.org
 
Top