Re: Help! A word feature is trying to drive me insane!
- From: Rianna <Rianna@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 18 Feb 2006 22:16:27 -0800
Gosh Greg it looks like you might be onto something here but "You can set
that option to off in a batch of files by running this macro:" I have no idea
what all this is. How do I run a macro? Figures they have to make turning it
off hard. Thanks for your help. Rianna
"Greg Maxey" wrote:
Rianna,.
I had a similiar problem a few years back when I upgraged to Word2002. It
would happend when I opened documents created in an earlier version. The
culprit was Tools>Options>Save>Embed Smart tags.
If that option was checked, I would get the promt everytime.
You can set that option to off in a batch of files by running this macro:
Public Sub BatchToggleEmbedSmartTabs()
'Sets embeded SmartTag off in all files in a directory
Dim myFile As String
Dim PathToUse As String
Dim myDoc As Document
'Close any documents that may be open
If Documents.Count > 0 Then
Documents.Close SaveChanges:=wdPromptToSaveChanges
End If
'Get the folder containing the files
With Dialogs(wdDialogCopyFile)
If .Display <> 0 Then
PathToUse = .Directory
Else
MsgBox "Cancelled by User"
Exit Sub
End If
End With
If Left(PathToUse, 1) = Chr(34) Then
PathToUse = Mid(PathToUse, 2, Len(PathToUse) - 2)
End If
myFile = Dir$(PathToUse & "*.*")
While myFile <> ""
'Open each file and toggle SmartTags
Set myDoc = Documents.Open(PathToUse & myFile)
With ActiveDocument
.EmbedSmartTags = False
End With
'Close the file, saving the changes.
myDoc.Close SaveChanges:=wdSaveChanges
myFile = Dir$()
Wend
End Sub
--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
Rianna wrote:
Hello, one of words features it trying to send me to the nut house so
I better try to do something about it. I use my word 2003 a lot.
Every single dratful time I open one of my word documents and try to
close it again it asks me if I want to save my changes. Even when I
have made NONE! It asks me every time! What good is it having the
save feature if it insists on asking you? Is there a way I can turn
this annoying feature off? Let me know please, I hope you know the
answer you will save me from this neverending torture. Rianna at
riannamay@xxxxxxx
- Follow-Ups:
- Re: Help! A word feature is trying to drive me insane!
- From: Greg Maxey
- Re: Help! A word feature is trying to drive me insane!
- References:
- Re: Help! A word feature is trying to drive me insane!
- From: Greg Maxey
- Re: Help! A word feature is trying to drive me insane!
- Prev by Date: Re: why is my product key invalid when i tryto convert
- Next by Date: Re: How to change that top margin for Envelopes
- Previous by thread: Re: Help! A word feature is trying to drive me insane!
- Next by thread: Re: Help! A word feature is trying to drive me insane!
- Index(es):
Relevant Pages
|