Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA to "answer" spesific msg box


I am wondering if it is possible to write an macro that answers "no
when a spesific alert is shown in Excel 2003. The alert is the aler
where excel asks you if you want to save the excel document becaus
"excel recalculates formulas when opening files last saved by a
earlier version of Excel".

I like to keep track of the dates when documents ar stored, and I a
therefor not interested in saving them just because excel 2003 wants m
to. The file structure are the same in excel 2003 and Excel XP(which wa
my earlier version)

I am also not interested in turning all alerts off with the vba
Application.DisplayAlerts = False because some alerts are ok to see.

Is there a solution for this?? Please help :

--
VBA_Newbi
-----------------------------------------------------------------------
VBA_Newbie's Profile: http://www.excelforum.com/member.php...fo&userid=1479
View this thread: http://www.excelforum.com/showthread.php?threadid=26416

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default VBA to "answer" spesific msg box

I don't think you can be that specific.

But you're going to get that warning when you close the workbook.

So maybe:

workbooks("yourworkbookname.xls").close savechanges:=false

would be sufficient.

======
Ahhhh.

But you're doing this manually, aren't you.

Maybe you could just bite the bullet once and save it as the newer version and
be done with it.



VBA_Newbie wrote:

I am wondering if it is possible to write an macro that answers "no"
when a spesific alert is shown in Excel 2003. The alert is the alert
where excel asks you if you want to save the excel document because
"excel recalculates formulas when opening files last saved by an
earlier version of Excel".

I like to keep track of the dates when documents ar stored, and I am
therefor not interested in saving them just because excel 2003 wants me
to. The file structure are the same in excel 2003 and Excel XP(which was
my earlier version)

I am also not interested in turning all alerts off with the vba:
Application.DisplayAlerts = False because some alerts are ok to see.

Is there a solution for this?? Please help :)

--
VBA_Newbie
------------------------------------------------------------------------
VBA_Newbie's Profile: http://www.excelforum.com/member.php...o&userid=14796
View this thread: http://www.excelforum.com/showthread...hreadid=264169


--

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
VLOOKUP displaying "NO ANSWER" instead of "0" ksean Excel Worksheet Functions 2 April 22nd 09 03:18 AM
How do I write an excel formula with a text answer ("yes" or "no") pat Excel Discussion (Misc queries) 1 September 9th 08 03:41 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 01:02 AM.

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"