getting rid of of a pop-up massage box

N

Nick

I have made a macro in excel which opens a certain text file and gets
the data out of it. The problem is that I everytime get a pop-up
massage box which says that there is a large amount of information and
it asks me if I also want to save this information on the Clipbord.
How can I get rid of this. I've about 200 text files and the whole
proces goes automatically accept for this part.
 
P

Paul Robinson

You've got a pop-up massage box at work? I want one!!
regards
Paul

PS throw in Application.CutCopyMode = False to clear the clipboard
 
M

Mike Waldron

Nick

I'd suggest this:

sub name()
Application.DisplayAlerts = False
your macro code
Application.DisplayAlerts = True
end sub

Turning DisplayAlerts to false will stop all of Excel's
warning messages.

Regards,
Mike
 

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