E
Ed
I'm using the following in Word 2000:
Set doc = Documents.Open(fName & dName)
With doc
strDoc = .Content.Text
S = Replace(strDoc, "AB (B)", "AB-(B)", 1, -1, vbTextCompare)
doc.Close
End With
The docs open, the Replace runs, and the docs close. I never see an alert
for saving changes. I have not intentionally turned them off. What is the
default here - saving changes or not?
Ed
Set doc = Documents.Open(fName & dName)
With doc
strDoc = .Content.Text
S = Replace(strDoc, "AB (B)", "AB-(B)", 1, -1, vbTextCompare)
doc.Close
End With
The docs open, the Replace runs, and the docs close. I never see an alert
for saving changes. I have not intentionally turned them off. What is the
default here - saving changes or not?
Ed