Hi all,
I am thinking of writing a FAQ on a fairly common Word issue. However, I want to tease the water here.
This common Word object can have the following code run - without any error.
The fact that this object can have .Exists = False, yet still hold text content, causes fairly consistent confusion. It is like a ghost object...sort of. There are parent/child issues, as SOME of the child objects can have this "ghosting", but ONE of the child objects NEVER does.
What is it? Is it worth writing a FAQ on? I know I am being a bit of a twit putting this up, but hey... I am curious if anyone gets it.
Gerry
I am thinking of writing a FAQ on a fairly common Word issue. However, I want to tease the water here.
This common Word object can have the following code run - without any error.
Code:
If [i]object[/i].Exists = [b]False[/b] Then
Msgbox [i]object[/i] & " does not exist (.Exists = False). " & _
"However, the text is: " _
[i]object[/i].Range.Text
End If
The fact that this object can have .Exists = False, yet still hold text content, causes fairly consistent confusion. It is like a ghost object...sort of. There are parent/child issues, as SOME of the child objects can have this "ghosting", but ONE of the child objects NEVER does.
What is it? Is it worth writing a FAQ on? I know I am being a bit of a twit putting this up, but hey... I am curious if anyone gets it.
Gerry