Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jie Jie is offline
external usenet poster
 
Posts: 2
Default How to escape the Workbook Save?

H

It seems Excel saves the workbook every time when the Save button is clicked as the workbook date time has been changed. Is it possible to escape the save if Workbook.Saved = true inside ExcelApp.WorkbookBeforeSave() event handler

Thanks a lo

Jie
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How to escape the Workbook Save?

Hi
within this event procedure add the line
Cancel=True

-----Original Message-----
Hi

It seems Excel saves the workbook every time when the

Save button is clicked as the workbook date time has been
changed. Is it possible to escape the save if
Workbook.Saved = true inside ExcelApp.WorkbookBeforeSave()
event handler?

Thanks a lot

Jie
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
Jie Jie is offline
external usenet poster
 
Posts: 2
Default How to escape the Workbook Save?

I tried this and it still saves the workbook as the modified date of the workbook file indicates

Jie
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to escape the Workbook Save?

try disabling events in the application object
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
Escape key won't work Lee B Excel Discussion (Misc queries) 1 September 3rd 08 05:01 PM
why does my mouse turn off when I press escape? Rafael Excel Discussion (Misc queries) 0 October 16th 05 10:59 PM
Escape for special characters in string Jag Man Excel Programming 2 January 2nd 04 03:56 AM
DIsabling Escape Key while dialog active Romulus Excel Programming 8 November 17th 03 10:44 PM
How to escape this error message jamesa Excel Programming 1 October 3rd 03 05:50 PM


All times are GMT +1. The time now is 04:26 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"