In line 2 you assign an explicit value to the variable Title.
In line 3 you change the value assigned to that same variable.
Then in line 4 you compare the variable to itself.
Have you looked at the browser in IE using the Object Spy, and confirmed that what you perceive to be the title is actually recorded in the Title property? Maybe the item you perceive as the title in the IE browser is actually a different Property.
(Opinions and information contained in this post are wholly my own and do not reflect the opinions of my employer.)
expTitle = "Google"
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
brwTitle = IE.Document.Title
If brwTitle = expTitle Then
.... Do comares
.... Do not compares