Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Opposite of Application.SaveWorkspace

When I close a woorkbook, it asks me if I want to save. I know I
don't, and it is very important that other ppl that I give the
workbook to don't either. In fact it's also better if they don't have
a choice to.

Is there a line of code say opposite to Application.SaveWorkspace,
that will disallow a save?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Opposite of Application.SaveWorkspace

If you're closing a workbook, you can use:

dim wkbk as workbook
set wkbk = workbooks("book1.xls")

'do lots of stuff

wkbk.close savechanges=false

to avoid that question.



Rich wrote:

When I close a woorkbook, it asks me if I want to save. I know I
don't, and it is very important that other ppl that I give the
workbook to don't either. In fact it's also better if they don't have
a choice to.

Is there a line of code say opposite to Application.SaveWorkspace,
that will disallow a save?


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opposite of Countifs Steve Excel Worksheet Functions 2 October 11th 09 03:45 AM
opposite of concatenate? BrightHawk Excel Discussion (Misc queries) 3 September 24th 09 08:13 AM
opposite of IsNumeric thephoenix12 Excel Discussion (Misc queries) 10 June 24th 05 07:37 PM
opposite to Application.Saveworkspace Rich[_25_] Excel Programming 0 October 27th 04 01:15 PM
macro to close excel application other than application.quit mary Excel Programming 1 September 14th 04 03:43 PM


All times are GMT +1. The time now is 01:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"