LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Stop Saving

Hi
put the following code in your workbook module:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
Cancel = True
End Sub

--
Regards
Frank Kabel
Frankfurt, Germany

"majikman " schrieb im
Newsbeitrag ...
i've created a macro such that when a user saves, it will copy the
contents in the workbook that needs to be saved into an excel file
located on a server. this works fine and all but what i would like to
be able to do is to stop excel from saving the current workbook

because
this workbook is huge and i don't want the user to wait for the
workbook everytime he hits the save button.

one more question, is there an event for the autosave? i'd like to

have
auto save also save to the excel file on the server.

last question. how could i save the contents of a text box to another
file without having to save the entire textbox?

thanks in advance for your help


---
Message posted from http://www.ExcelForum.com/


 
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
How do I stop someone saving a web downloaded workbook? Jojo999 Excel Discussion (Misc queries) 2 May 26th 09 02:01 PM
Why does Excel 2007 stop responding after saving Xandersmum Excel Discussion (Misc queries) 0 May 8th 09 02:40 PM
My hyperlinks stop working on saving the workbook RobDLondon Excel Discussion (Misc queries) 2 September 11th 06 02:46 PM
How do I stop Excel from saving a file with a different name? Gary Excel Discussion (Misc queries) 5 September 14th 05 07:20 PM
how do I stop warnings when saving .xls as csv? leeandhazel Excel Discussion (Misc queries) 1 December 13th 04 12:11 PM


All times are GMT +1. The time now is 10:14 PM.

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"