Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

copy delete

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark A - 21 Dec 2004 19:55 GMT
Is is possible to delete an open document in word?  I want to delete a file
that is currently open in word using vba.

All suggestions and advice is greatly appreciated,
Mark A.
Jay Freedman - 21 Dec 2004 20:03 GMT
> Is is possible to delete an open document in word?  I want to delete
> a file that is currently open in word using vba.
>
> All suggestions and advice is greatly appreciated,
> Mark A.

No, it isn't possible, by VBA or any other means. Windows won't permit you
to delete a file that's held open by any application. You'll have to close
the document first.

Signature

Regards,
Jay Freedman
Microsoft Word MVP          FAQ: http://word.mvps.org


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.