ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Disable alert message when merging cells?? (https://www.excelbanter.com/excel-programming/325015-disable-alert-message-when-merging-cells.html)

yung

Disable alert message when merging cells??
 
When I program to merge some cells in excel, an alert message prompts:

"The selection contains multiple data values. Merging into one cell will
keep the upper-left most data only."

It is somewhat annoying to application users when data is exported to excel
with quite a number of cell merging involved. Is it possible for me to
disable this alert message?

Thanks!

Yung.



gocush[_29_]

Disable alert message when merging cells??
 
Application.DisplayAlerts=False

"yung" wrote:

When I program to merge some cells in excel, an alert message prompts:

"The selection contains multiple data values. Merging into one cell will
keep the upper-left most data only."

It is somewhat annoying to application users when data is exported to excel
with quite a number of cell merging involved. Is it possible for me to
disable this alert message?

Thanks!

Yung.





All times are GMT +1. The time now is 02:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com