Hi guys,
I have a code and it works perfectly, but because I use a template dotx I have an error when I am trying to close the document.
In the excel appears a window to save the doc somewhere as dotm but i don;t want to do that. I simply need to close my active doc without saving anything etc.
Can you please advise?
I think the line would need to be:![]()
Please Login or Register to view this content.
but is still not working. Maybe I need to put numbers instead of wdDoNotSaveChanges and wdOriginalDocumentFormat.![]()
Please Login or Register to view this content.
I searched on MSN and I was not able to find the real numbers for them.
Thank you in advance,
Ionut
Bookmarks