Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Tue, 16 May 2006 12:52:44 -0400,    group: microsoft.public.word.vba.userforms        back       


AutoSave a doc based on a form field   
Howdy,

I have a word doc which users enter in field information. The form is locked 
and data entry is great. When the users leave a field, log no, I'd like to 
autosave the document using a macro. So after they leave field LogNo, save 
the document as "report_12334.doc" to the default directory. Well, this is 
pulling from SharePoint WSS, so it should save back to the WSS list. How do 
I write a macro like this?

Thanks!!

-- 
D a v i d  L o z z i
Data & Web Technology Specialist
Delphi Technology Solutions, Inc.
Wilmington, MA
dlozzi@(remove this)delphi-ts.com - www.delphi-ts.com
date: Tue, 16 May 2006 12:52:44 -0400   author:   David Lozzi am

Re: AutoSave a doc based on a form field   
Hi David, 

> I have a word doc which users enter in field information. The form is locked 
> and data entry is great. When the users leave a field, log no, I'd like to 
> autosave the document using a macro. So after they leave field LogNo, save 
> the document as "report_12334.doc" to the default directory. Well, this is 
> pulling from SharePoint WSS, so it should save back to the WSS list. How do 
> I write a macro like this?
>
Well, getting the macro to execute is simple enough, just assign it from the 
"On Exit" in the field's options.

How to save to WSS: try recording using File/Save As in a macro to a WSS 
folder. That should give you an idea what the file path needs to look like.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply 
in the newsgroup and not by e-mail :-)
date: Wed, 17 May 2006 11:13:53 +0200   author:   Cindy M -WordMVP-

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us