![]() |
![]() |
|
|||||||
| 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 |
|
Guest
Posts: n/a
|
I have a macro which saves the active
worksheet to a .txt tab separated file and I'd like to modify it so that it doesn't ask the user if he wants to overwrite a file of the same name. I want the macro to overwrite the file, period. Any clues on how to do that? thanks! dani@3dsite.com |
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Quote:
Application.DisplayAlerts = False 'your code Application.DisplayAlerts = True End Sub
__________________
Barrie Davidson "You're only given a little spark of madness. You mustn't lose it." - Robin Williams |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|