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.

Intercepting File Save As

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Montana DOJ Help Desk - 30 Nov 2004 06:02 GMT
Word 2000

Is there a way to intercept the File Save As command?  I tried using Sub
FileSaveAs(), but that did not work.

-- Tom

State of Montana
Department of Justice Help Desk

"Making the world a safer place."
Remo - 30 Nov 2004 09:56 GMT
Hello Tom

FileSaveAs is in Menu File SaveAs. The Button in the Standardmenu is
FileSave. Hope this helps.

PS: Sorry my english is sh.t. ;-)

Greetings
Remo

> Word 2000
>
[quoted text clipped - 7 lines]
>
> "Making the world a safer place."
Montana DOJ Help Desk - 01 Dec 2004 05:42 GMT
Remo,

Thanks for the reply.  I already have FileSave covered, but that does not
come into play when the user does a SaveAs, so I was trying to create a
FileSaveAs routine to cover that situation as well.  I solved this
particular problem.  It turns out that I had to exit Word and the open it
again.  Once I did that, the macro started working.

-- Tom

State of Montana
Department of Justice Help Desk

"Making the world a safer place."
> Hello Tom
>
[quoted text clipped - 17 lines]
> >
> > "Making the world a safer place."
Helmut Weber - 30 Nov 2004 12:07 GMT
Hi Tom,

Public Sub FileSaveAs()
  MsgBox "FileSaveAs"
End Sub

If that doesn't work, then something else is wrong.

Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
Montana DOJ Help Desk - 01 Dec 2004 05:43 GMT
Helmut,

I think that I have solved this one, although I have not had any time for
testing yet.  But what I noticed is that when I closed Word, and the opened
it again, the FileSaveAs macro started working.  Not sure why that would
make any difference.

-- Tom

State of Montana
Department of Justice Help Desk

"Making the world a safer place."
> Hi Tom,
>
[quoted text clipped - 9 lines]
> Word XP, Win 98
> 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.