|
-
Jun 12th, 2002, 03:25 AM
#1
Thread Starter
Not NoteMe
CreateObject(Excel.Application) - Close it w/o Are you sure? msgbox
I've created an excel application to do some calculations. How would i close it, repressing the 'Do you want to save changes?' msgbox it displays.
I've tried XLApp.Quit
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
-
Jun 12th, 2002, 03:33 AM
#2
Code:
' hide Excel messages from appearing on the screen
' by using the displayalerts call
With XLApp
.displayalerts = false
.workbooks(1).close
.displayalerts = true
.quit
End With
Set XLApp = nothing
-
Jun 12th, 2002, 03:36 AM
#3
Thread Starter
Not NoteMe
Works great, thanks.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
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
|