VB.net Excel sorting
- by Lora
I am trying to get a macro convert from VBA over to vb.net and I am getting a type mismatched error and can't figure it out. I am hoping someone here will be able to help me.
This is the code.
Sub SortRawData()
Dim oSheet As Excel.Worksheet
Dim oRange As Excel.Range
Try
oSheet = SetActiveSheet(mLocalDocument, "Sheet 1")
…