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
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top