Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Ignoring Message


I've got a macro and part of it is meging cells, but everytime it does
this i get a message that i need to ok.

How can i get the code to "yes" this message on all occasions

Cheers
K


--
katmando
------------------------------------------------------------------------
katmando's Profile: http://www.excelforum.com/member.php...o&userid=29803
View this thread: http://www.excelforum.com/showthread...hreadid=507616

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Ignoring Message

Hi Katando,

Try This:


Range("....").Select
Application.DisplayAlerts = False
Selection.Merge
Application.DisplayAlerts = True


This will not show the message at all.


Hoop this helps,



Executor

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default Ignoring Message

Katmando,

Use the DisplayAlerts property of the Application object. So........

Sub KatmandoMacro()

Application.DisplayAlerts = False
'Your merge code
Application.DisplayAlerts = True

End Sub

Best regards

John

"katmando" wrote in
message ...

I've got a macro and part of it is meging cells, but everytime it does
this i get a message that i need to ok.

How can i get the code to "yes" this message on all occasions

Cheers
K


--
katmando
------------------------------------------------------------------------
katmando's Profile:
http://www.excelforum.com/member.php...o&userid=29803
View this thread: http://www.excelforum.com/showthread...hreadid=507616



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Ignoring Message


Thats what i was looking for

Thanks


--
katmando
------------------------------------------------------------------------
katmando's Profile: http://www.excelforum.com/member.php...o&userid=29803
View this thread: http://www.excelforum.com/showthread...hreadid=507616

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
Ignoring #n/a The Toasterman Excel Discussion (Misc queries) 6 June 28th 06 07:35 PM
Ignoring 0 Shhhh Charts and Charting in Excel 8 October 14th 05 09:47 PM
Ignoring #DIV/0! tillyosu Excel Discussion (Misc queries) 3 July 18th 05 07:20 PM
Displaying a message in a message box without requiring user to click anything to proceed Android[_2_] Excel Programming 2 June 25th 04 06:44 PM
Problems ignoring error message Dr. Schwartz[_3_] Excel Programming 1 February 24th 04 03:26 PM


All times are GMT +1. The time now is 03:33 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"