Can someone please help me to convert the following in bold (below is Excel VBA, need vb.net):
1.
2,
Thank you.
1.
Code:
Dim shtAry() As Variant shtAry() = [B]Array[/B]("SawLineDoors", "SawLineRods", "SawLineGlassStop", "SawLineSwinger", "SawLineFrames", "Frames")
Sheets([B]shtAry())[/B].Select
2,
Code:
xlApp.Worksheets(sht).Range("A2:H" & xlRows).Sort(key1:=xlApp.Range("E2"), order1:=Microsoft.Office.Interop.Excel.XlSortOrder.xlAscending, Key2:=xlApp.Range("H2"), Order2:=Microsoft.Office.Interop.Excel.XlSortOrder.xlAscending, [B]HEADER:=xlNo[/B], OrderCustom:=1,[B] Orientation:=xlTopToBottom)[/B]
Thank you.