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

Hi

I am starting to believe that there is no answer, to force a no save!

I need the opposite to Application.SaveWorkspace, so the "Do you want to
save..." dialogue doesn't appear on exit.

As you can tell, I don't want changes made to the workbook, or even the
choice given to people as they exit. Can anybody help me?

Rich


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Opposite to "Application.SaveWorkspace"


add this into your workbook:


Code
-------------------
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Me.Saved = True
End Su
-------------------



cheers,
gopp

--
Gopp
-----------------------------------------------------------------------
Goppi's Profile: http://www.excelforum.com/member.php...fo&userid=1582
View this thread: http://www.excelforum.com/showthread.php?threadid=27314

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
"Find Most Opposite" Function? Fealomwen Excel Discussion (Misc queries) 1 May 24th 10 11:51 AM
The opposite of the "sort" function [email protected] Excel Discussion (Misc queries) 3 March 28th 07 01:10 AM
The opposite of the "sort" function [email protected] Excel Worksheet Functions 3 March 28th 07 01:10 AM
Opposite of Application.SaveWorkspace Rich[_25_] Excel Programming 1 October 28th 04 05:23 PM
opposite to Application.Saveworkspace Rich[_25_] Excel Programming 0 October 27th 04 01:15 PM


All times are GMT +1. The time now is 09:44 AM.

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

About Us

"It's about Microsoft Excel"