Why would I get this error, and how can I stop my program from getting it?
Object reference not set to an instance of an object.
I often get when trying to change the value of a variable.
ex.
[Add MS Outlook Reference]
Code:Imports Office . . . Sub SearchHD Dim Search as Office.FileSearch Search.FileName = "test" 'I get the Error Here End Sub




Reply With Quote