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: Thu, 4 Sep 2008 12:13:01 -0700,    group: microsoft.public.word.vba.general        back       


Macro for Exiting Word   
I need a simple macro that will close the active doc and exit Word. 

I have searched here and on the web and tried some out there but they only 
close the doc and not Word also

TIA
Rick
date: Thu, 4 Sep 2008 12:13:01 -0700   author:   JBK617

RE: Macro for Exiting Word   
The Quit command.

Application.Quit SaveChanges:=wdSaveChanges


"JBK617" wrote:

> I need a simple macro that will close the active doc and exit Word. 
> 
> I have searched here and on the web and tried some out there but they only 
> close the doc and not Word also
> 
> TIA
> Rick
date: Thu, 4 Sep 2008 13:07:01 -0700   author:   George Lee

RE: Macro for Exiting Word   
George,

That worked thank you very much

Rick

"George Lee" wrote:

> The Quit command.
> 
> Application.Quit SaveChanges:=wdSaveChanges
> 
> 
> "JBK617" wrote:
> 
> > I need a simple macro that will close the active doc and exit Word. 
> > 
> > I have searched here and on the web and tried some out there but they only 
> > close the doc and not Word also
> > 
> > TIA
> > Rick
date: Thu, 4 Sep 2008 18:47:00 -0700   author:   JBK617

Google
 
Web ureader.com


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