Differentiate between Save And AutoSave

MS WORD

    Next

  • 1. I need to convert mm/dd/yyyy dates to textual date in MS Word
    If you have large numbers of these, use Find and Replace -- with wildcards enabled, look for 01\/([0-9]{1,2})\/([0-9]{4}) replace with January \1 \2. Repeat for the other months. "George" < XXXX@XXXXX.COM > wrote in message news: XXXX@XXXXX.COM ... >I need to be able to convert dates in the mm/dd/yyyy format to textual >dates > in MS Word 2003 i.e., 01.01/2007 to January 1 2007 - any suggestions? > THANKS!
  • 2. Change Case in 2007
    WHere did they move the Change Case option in Word 2007 and why is it not int the HELP file when I search on "Change Case"? What have they done to this program? This is becoming endless. Thanks for any help....
  • 3. Mail merge advice
    I was asked to do a mail merge with 3 large word files which have names, addresses, phone numbers, and email addresses. They are not in tables and I want to export names and addresses only into Excel. I could sure use any ideas you might have. So far I've converted the word file to a text doc and I've been deleting the unwanted info by hand. I've tried to use wildcards in find and replace to remove phone numbers but so far no luck. Thank you. T

Differentiate between Save And AutoSave

Postby Dhananjay » Sat, 30 May 2009 21:59:38 GMT

Hi All,
I am developing word addin using VSTO / vb 2005 / Office 2007.
Actually I need Word's DocumentAfterSave event, which unfortunately
not supported in Word Object Model.
So I trapped DocumentBeforeSave event of Application object for that
purpose. But unfortunately, Save button's event OR Word's AutoSave
event calls same DocumentBeforeSave event. So I need to differentiate
between these 2 calls. How I can check whether the call to
DocumentBeforeSave is coming from Save Button's click event or it is
coming from AutoSave internally?

Thanks in advance,
Dhananjay

Re: Differentiate between Save And AutoSave

Postby Jean-Guy Marcil » Sun, 31 May 2009 06:52:57 GMT

Dhananjay was telling us:
Dhananjay nous racontait que :



What do you mean exactly by "AutoSave?

Meanwhile, you can use the following subs:

Sub FileSave()

and

Sub FileSaveAs

They get invoked when the user does CTRL-S or does File > Save / File > Save 
As

Those do not get invoked when, for instance, you close Word and Word asks if 
you want to save the file. If this is what you mean by AutoSave, then you 
can now tell when the save is initiated by Word or by the user.


-- 
______________________________
Jean-Guy Marcil
Montreal, Canada 



Re: Differentiate between Save And AutoSave

Postby Suzanne S. Barnhill » Sun, 31 May 2009 07:53:01 GMT

He may mean the AutoRecovery save.

-- 
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
 http://www.**--****.com/ 







Re: Differentiate between Save And AutoSave

Postby Jean-Guy Marcil » Sun, 31 May 2009 10:09:51 GMT

Suzanne S. Barnhill was telling us:
Suzanne S. Barnhill nous racontait que :


I doubt it because that setting does not actually save the document... 
However it is possible that the DocumentBeforeSave event is triggered by the 
AutoRecovery feature... I have not used that event in a while...

But he may be confused... Sometimes it hard to tell what is going based on 
the limited descriptions we get...


-- 
______________________________
Jean-Guy Marcil
Montreal, Canada 



Re: Differentiate between Save And AutoSave

Postby Suzanne S. Barnhill » Sun, 31 May 2009 10:49:48 GMT

Many people don't realize that AutoRecovery is not a save, however, which is 
why I wrote  http://www.**--****.com/ 

-- 
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
 http://www.**--****.com/ 







Similar Threads:

1.Differentiate between Save And AutoSave

Hi All,
I am developing word addin using VSTO / vb 2005 / Office 2007.
Actually I need Word's DocumentAfterSave event, which unfortunately
not supported in Word Object Model.
So I trapped DocumentBeforeSave event of Application object for that
purpose. But unfortunately, Save button's event OR Word's AutoSave
event calls same DocumentBeforeSave event. So I need to differentiate
between these 2 calls. How I can check whether the call to
DocumentBeforeSave is coming from Save Button's click event or it is
coming from AutoSave internally?

Thanks in advance,
Dhananjay

2.Save, Save As and AutoSave disabled (New or existing documents)

Something I've never encountered:  In the middle of writing, I got a message 
indicating that "AutoSave is postponed for Document XXX."  I thought this was 
fine since I was Cntl-S saving every few minutes.  After about 6 hours of the 
"postponed" message popping up, I tried to Save As.  No "Save As" box came 
up.  When I tried to close the document (thinking that it had been saved all 
along by use of Cntl-S), Word asked if I wanted to Save the document.  I 
selected "Yes," and then tried to close the document, but was asked again if 
I wanted to save. I finally closed it without saving, and the temp file on 
the document was last modified (saved) just before I started getting the 
AutoSave message.  Essentially, the document is lost.  I've since tried 
opening a blank document and after typing a few words, I try to save.  
Nothing.  Autosave is selected in the Options tab, but all save functionality 
is lost.  Virus scans and Ad-Aware scans are negative.

Any ideas?

Thanks all.

3.Save, Save As and AutoSave disabled (New or existing documents

4.autosave and saving files when changing usernames

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel

Okay, here goes. I recently had trouble with my username, so I created another administration user and started transferring files from username to username. I changed the property for the documents folder to enable me to switch my documents over, uploaded the folder to an online storage service, went to the new username, and downloaded those files into the documents folder. But now, when I open Word, it tells me I can't autosave and should change the autosave location - which I did. I saved it to the autosave folder in documents in the new username. It still won't autosave. On top of that, when I try to save a document, it tells me I can't because it's write-protected, or I'm out of disk space (which I'm not). However, if I put the document onto a memory key, and drag it over to where I want to save it, it will ask me for permission to do so, and after I punch in the password, it authenticates and transfers over. HELP.

5.How to distinguish between explicit save and autosave

Hi,

Is there anyway to distinguish between an explicit, user-initiated save and 
an autosave in DocumentBeforeSave in a Word AddIn?

Best regards
Birger 


6. Just Save or Autosave?

7. save error on autosave

8. Formating and autosave info appears at the bottom of saved documen



Return to MS WORD

 

Who is online

Users browsing this forum: No registered users and 3 guest