D
Donhuff
When I run the following MACRO from a VBA form, I get error 5479, cannot
close word because a dialog box is open. I'm not trying to close word (at
least I don't think so). Open_Docs is a MACRO VBA form.
Private Sub CommandButton1_Click()
ChangeFileOpenDirectory "C:\users\dhuffaker\Documents\xmydata\CorpExam\Corp\"
Documents.Open FileName:="DOR.doc"
Application.Dialogs(wdDialogFileSaveAs).Show
Unload Open_Docs
End Sub
close word because a dialog box is open. I'm not trying to close word (at
least I don't think so). Open_Docs is a MACRO VBA form.
Private Sub CommandButton1_Click()
ChangeFileOpenDirectory "C:\users\dhuffaker\Documents\xmydata\CorpExam\Corp\"
Documents.Open FileName:="DOR.doc"
Application.Dialogs(wdDialogFileSaveAs).Show
Unload Open_Docs
End Sub