Hi Dave,
I have confirmed that the same file is in use. I searched my whole hard disk
to find the same file name. I deleted other files to kept only one copy.
After confirming the file is same, I watched the file in the windows
explorer and I found some surprizing things. When I start MS-Excel, the
modified date time of XLA file changes to current date time and remains the
same till I close the MS-Excel. As soon as I close the MS-Excel, the
modified date time revertes back to old date time. When I press save button
in visual basic editor the modified date time doesn't change.
As you said, I inserted the "thisworkwook.save" in the Workbook_BeforeClose
subroutine and... it could save the file. Thank you very much for providing
this idea. Now I can continue my work with this work around.
If you come to know the reason behind this abnormal behaviour, please let me
know.
Thanks and regards,
Arvind Jagtap
> Are you sure you're saving to the location you want? Maybe you have an
> updated
[quoted text clipped - 44 lines]
>>
>> Arvind
Dave Peterson - 12 Jan 2007 15:47 GMT
The date/time changes for every file you open--that's just the way excel works.
I don't have a guess why just clicking on File|Save inside the VBE doesn't work
for you. It's always worked for me.
(Irritating question follows!)
Are you positive that the .xla's project is the active project when you hit
File|Save (or click the Save icon)?
All that written, I've read a few posts by pretty smart people that have
experienced the same thing--that's where I picked up the suggested work-around.
(I have no idea what the problem could be!)
> Hi Dave,
>
[quoted text clipped - 70 lines]
> >
> > Dave Peterson

Signature
Dave Peterson
Arvind Jagtap - 15 Jan 2007 06:42 GMT
Hi Dave,
I check every time the active project before pressing save button. I
exclusive click on the project name or place cursor in the specified add-in
program before saving. But still it is not saving the file.
It was working on my machine for many years. It stopped working since 1/2
months. I reinstalled MS-Office for this purpose but in vain.
If I find the reason behind this, I will definitely let you know.
Thanks ands regards,
Arvind Jagtap
> The date/time changes for every file you open--that's just the way excel
> works.
[quoted text clipped - 100 lines]
>> >
>> > Dave Peterson
Dave Peterson - 15 Jan 2007 15:45 GMT
Please post back if you do find the solution.
I'm sure the people who have the same problem would like to know a solution--and
google would have it, too!
> Hi Dave,
>
[quoted text clipped - 118 lines]
> >
> > Dave Peterson

Signature
Dave Peterson