![]() |
|
|
|||||||
| 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: Apr 2002
Posts: 16
|
Does anybody know how I can get rid off a Excel error message? I just want it to simply click ok, and then continue. Is there a line of code that can do this, do I have to trap this error?
Any recommendation is appreciated. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Huntington Beach, CA USA
Posts: 327
|
Application.DisplayAlerts = False
"your code" Application.DisplayAlerts = True End Sub James |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 16
|
James, thanks. But it gives an error when I saved the document(trying to share workbooks), so it is not related to my code, it is related to excel. I want to get rid of that message by automatically making it to click on OK. Any idea? Thanks again.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|