|
-
Aug 24th, 2001, 06:30 AM
#1
Thread Starter
Lively Member
Deleting Excel Sheets without User intervention
Hey!
I am writing a macro that uses one sheet as an output sheet. If I run this macro, it clears the existing output, kills all sheets except the first one (which contains the macro ) and creates it from the draft.
The thing is, the people I work for would flip if they see the macro deleting anything , even what the very same macro created. So I don't want the user to be asked if there is a sheet to be deleted. I just want to kick it, and it's my right, I created it
The PC can't replace your life...
...but you can get a great break with it
VB6, (D)HTML, JavaScript, TI-85 
German, English, Portuguese, Spanish, French & a bit of latin 
-
Aug 24th, 2001, 06:37 AM
#2
Fanatic Member
VB Code:
Excel.Application.DisplayAlerts = False
Make sure you set it back to true at the end of your procedure, or there'll be tears...
-
Aug 24th, 2001, 06:43 AM
#3
Thread Starter
Lively Member
The PC can't replace your life...
...but you can get a great break with it
VB6, (D)HTML, JavaScript, TI-85 
German, English, Portuguese, Spanish, French & a bit of latin 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|