Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Can the Save Changes prompt be bypassed when using a volatile function?

I've researched the forums and it looks like the "Do you want to save
changes" prompt will always appear when a volatile function is used (in
my case I'm using several). But I haven't seen a solution to bypass
this prompt (as removing the volatile functions is not an option for
me). The file is protected and users can only access it as read only.
The answer to the prompt will always be "no." Is there a code that
will bypass this message?

TIA for assistance!

puakeni

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default Can the Save Changes prompt be bypassed when using a volatile function?

Hi Puakeni,

see help for workbook_beforesave and workbook_beforeclose events.

Let me know if you need more details,

Regards,
Ivan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Can the Save Changes prompt be bypassed when using a volatile

Believe Ivan is indicating you should use the beforeclose event to set

Thisworkbook.Saved = True

to see if it suppresses the message.

If your not familiar with events, you should see Chip Pearson's page for an
overview
http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy


"Ivan Raiminius" wrote:

Hi Puakeni,

see help for workbook_beforesave and workbook_beforeclose events.

Let me know if you need more details,

Regards,
Ivan


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Can the Save Changes prompt be bypassed when using a volatile

Thanks for the replies folks. I found something that works.

Have a great weekend!
puakeni

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
Today - volatile function dhstein Excel Discussion (Misc queries) 5 May 25th 09 03:12 PM
is MATCH a volatile function? Dave F Excel Discussion (Misc queries) 3 January 31st 07 07:05 PM
why is the INDIRECT function volatile? Dave F Excel Worksheet Functions 2 October 25th 06 02:10 PM
save prompt for user exit, but no save prompt for batch import? lpj Excel Discussion (Misc queries) 1 February 25th 06 02:08 AM
Making a function somewhat volatile. Bura Tino Excel Programming 3 May 4th 04 08:42 AM


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