The code in the previous message works fine in the
vb editor after
slight change. But it doesn't work in the document itself. It shows
the dialog but then it shows the dialog again instead of the save as
dialog. After that it closes the dialog. (It seems like the savedialog
became my dialog)