asked on
ASKER
If bstartapp = True Then
xlbook.Save
xlbook.Close
xlapp.Quit
End If
Set xlapp = Nothing
Set xlbook = Nothing
Set xlsheet = Nothing
End Sub
ASKER
ASKER
ASKER
Microsoft Word is a commercial document editing program that is part of the Microsoft Office suite. It features numerous text-editing tools for creating richly formatted documents, along with tools for the use of macros in Word documents. Word's native file formats are denoted either by a .doc or .docx file extension. Plugins permitting the Windows versions of Word to read and write formats it does not natively support, such as the OpenDocument format (ODF) are available. Word can import and display images in common bitmap formats such as JPG and GIF. It can also be used to create and display simple line-art.
TRUSTED BY
Try:
Also, I ...
Dim xlapp As Object
Dim xlbook As Object
Dim xlsheet As Object
But not sure if that would make the difference.
HTH