macro question

B

barb

have a macro that opens up another wrksheet and copies a
column and pastes it in my wrk sheet and closes
the other file and does not save changes. My question
is ....is there a way to do this w/out after i do the
macro i get the do you want to save changes prompt. i did
that in the macro so shouldn't that be enough, it is
irritating.


thanks
 
F

Frank Kabel

Hi
use
application.displayalerts=false
'your code
application.displayalerts=true
 
B

barb

thanks it works great
-----Original Message-----
Hi
use
application.displayalerts=false
'your code
application.displayalerts=true

--
Regards
Frank Kabel
Frankfurt, Germany


.
 

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