![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 12
|
Dear all,
I have created a macro. In some part there is a pop up which says do you want to overwrite the not empty cells ? I always confirm with yes but it interupts the macro which is very anoying. Can excel skip the message and automatic overwrite the not empty cells ? Thanks in advance. Raymond |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Perth Australia
Posts: 1,567
|
Hi Raymond
Try this at the start of your macro Application.AlertBeforeOverwriting = False regards Derek |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Hi,
Put this code at the beginning of your macro Application.DisplayAlerts = False Put this code at the end of your macro Application.DisplayAlerts = True |
|
|
|
|
|
#4 |
|
New Member
Join Date: Feb 2002
Posts: 12
|
Thanks guys, it worked ! You´ve been a great help...
Raymond |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|