I can't seem to find a way to use one of my VBA tricks in VB.net
For example selecting this range works in VBA:
Dim Border As Range
Border = Range(Cells(2, 3), Cells(10, 4)).Select
In Visual Studio I can only use one "Cells" to call a range. The same code above underlines the word "Cells" saying its not declared even though I have:
Dim Border As Excel.Range
Border = Range(Cells(2, 3), Cells(10, 4)).Select()
I use .Row and .Column to identify the data-sets dimensions. I tried looking everywhere for an explanation/solution. Maybe I'm looking to hard in the wrong direction. Anyone have any idea?