Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default getting rid of of a pop-up massage box

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.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default getting rid of of a pop-up massage box

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
-----Original Message-----
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.
.

  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default getting rid of of a pop-up massage box

"Nick Hodge" wrote in message ...
Nick

Not sure if

Application.CutCopyMode=False

will help, but if not, copy an empty cell in between actions should do it

--

Yes it will but it will not disable pop-ups for the entirity of the
macro. To achieve this, use:
Application.DisplayAlerts=False

HTH
Nigel
p.s Funny Freudian slip :)
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default getting rid of of a pop-up massage box

Nigel

Indeed it will not, but the OPs original request was to stop that particular
warning, not all warnings in the code.

Granted, Application.DisplayAlerts works, but he may have wanted to show
some, save workbook, etc.

--
HTH
Nick Hodge
Southampton, England



"Nigel Brown" wrote in message
om...
"Nick Hodge" wrote in message

...
Nick

Not sure if

Application.CutCopyMode=False

will help, but if not, copy an empty cell in between actions should do

it

--

Yes it will but it will not disable pop-ups for the entirity of the
macro. To achieve this, use:
Application.DisplayAlerts=False

HTH
Nigel
p.s Funny Freudian slip :)



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to apply Warning massage deepak Excel Discussion (Misc queries) 3 May 6th 10 03:28 PM
I CANNOT HIDE COLUM & I GOT ERROR MASSAGE "CANNOT SHIFT PBJECTS O. ALAA Excel Worksheet Functions 1 March 11th 09 07:02 AM
help on value error massage please. anier614 Excel Discussion (Misc queries) 3 October 17th 07 09:36 PM
Popup Massage Windows shital Excel Programming 1 August 23rd 03 05:17 PM


All times are GMT +1. The time now is 10:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"