|
-
Jun 7th, 2007, 03:02 AM
#1
Thread Starter
Junior Member
I don't want re-save opened documents
After opening one .dot and launching text macro, when I want to close document, it asks for save or don't save document. I never don't want save it. What command I can write into for it? Ty.
Sry for my English
-
Jun 7th, 2007, 03:49 AM
#2
Re: I don't want re-save opened documents
Can't you open via read only?
Or set the read only on the .dot file?
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jun 7th, 2007, 12:31 PM
#3
Hyperactive Member
Re: I don't want re-save opened documents
possibly
application.displayalerts = false
or depending on what close method you are using ...
.Close SaveChanges:=False
or a version of that may work...
-
Jun 8th, 2007, 02:25 AM
#4
Thread Starter
Junior Member
Re: I don't want re-save opened documents
OK. Thanks, I will test it.
I have next question, what doing: Dim strDocEncoding As String?
-
Jun 8th, 2007, 09:48 AM
#5
Hyperactive Member
Re: I don't want re-save opened documents
 Originally Posted by jesy
OK. Thanks, I will test it.
I have next question, what doing: Dim strDocEncoding As String?
What is that line doing?
If that's your question, that line declares a variable named strDocEncoding as a String.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|