Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default saving files

I have a button on the a spreadsheet which links to a
macro which includes the statement

ActiveWorkbook.Save

Sometimes when the macro runs it looks as if the file is
saving and it registers the correct date and time on the
Modified property but the changes to the document have
not actually been saved. I have changed the statement to
a "SaveAs" so that i know when it is and is not saving as
i get a warning about overwriting. But why is it doing
this? Is it a problem with my VBA or is it a system
problem? I have tried to see when this happens and while
there does not appear to be any consistancy it does
appear to happen more often on the first save.

Any suugestions please. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default saving files

Hi Judith

Which Excel version do you use

--
Regards Ron de Bruin
http://www.rondebruin.nl


"judith" wrote in message ...
I have a button on the a spreadsheet which links to a
macro which includes the statement

ActiveWorkbook.Save

Sometimes when the macro runs it looks as if the file is
saving and it registers the correct date and time on the
Modified property but the changes to the document have
not actually been saved. I have changed the statement to
a "SaveAs" so that i know when it is and is not saving as
i get a warning about overwriting. But why is it doing
this? Is it a problem with my VBA or is it a system
problem? I have tried to see when this happens and while
there does not appear to be any consistancy it does
appear to happen more often on the first save.

Any suugestions please. Thanks



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
saving files stacey Excel Discussion (Misc queries) 1 December 2nd 09 09:26 PM
Saving files dkc[_2_] New Users to Excel 2 October 20th 08 08:52 PM
Closing files and saving files dan Excel Worksheet Functions 0 August 15th 06 04:07 AM
saving files Marlis Excel Discussion (Misc queries) 0 August 17th 05 05:56 AM
Saving csv files Steve Excel Discussion (Misc queries) 2 July 20th 05 06:43 PM


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