How to move the active document? SaveAs does not change ActiveDocument

K

kiln

How does one move the active doc; this issue is givimg all sorts of
problems. I've tried several solutions but not work reliably.

For instance, I thought I'd perform a SaveAs from within Word; that
should move the Active Document pointer or whatever it's called to the
newly saved doc; the orig doc should be closed. Then, use Kill to delete
the orig file. This approach works fine on some machines, on other
machines it fails with error 70 permission denied. The orig file is
still open on some machines (but not others). On those machines I can
see that the file exits in both locations, and the open file is the orig
file.

Why is word so inconsistent with this fundemental behavior? Via menu
choices, in all cases SaveAs moves the current file to the "new" file. I
am programming in Word 2002 and the machines that have this issue are
Word 2000 - but the saveas behavior is so basic that I can't imagine
that it's deliberately different programming this in the two versions.

I have doevents all over the place. And, if I try to close the word doc
in it's original location, I error out with "Bad File Name", when I can
see the file is still at that location.

Frankly programming word is a real pita. Handy when it works but
terrible getting it there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top