Hi
Originally Posted by
prkhan56
.., the macro comes out ...
I am still not sure what you meant? What does ..." the macro comes out..." mean? Does the macro stop with an error message. If so , what error message is given?
_.__________________________
Originally Posted by
prkhan56
The macro is in the Word File inserted as a Module which is open at the time of running the macro
Which Word file? - If it is in the file which is saved as .htm , then when the file is closed, the macro is gone so nothing further will happen.
_.______________________
You could try to remove the close and kill lines , ( ' comment them out ), and then see what happens.
Like this:
Code:
' Documents(strDocumentName & ".htm").Close ' The purpose of the Save As .htm was to get thee new folder made, that's all, so we can close that file now, and then kill (delete) it
' Kill strPath & "\" & strDocumentName & ".htm"
Bookmarks