output to an excel file

I have this sqldatareader but Id like to ouput t the resultset in an excel spreadsheet or notepad.

Dim dr2 As SqlDataReader
                        dr2 = odata.GetPersonBytmp(SpERSON)
                        dr2.Read()
                        sMsgTo = LCase(dr2("MAILADDRESS"))

Id like sMsgTo outputted to notepad or excel
zachvaldezAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
zachvaldezAuthor Commented:
Thanks for the link!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.