I am trying to convert simple vba "with statemnt" to C#. ProductRangeA and B are named ranges. Could someone to give a hint?
With ProductRangeA
myRow= .Rows.Count:
myValue= .Value
End With
With ProductRangeB
myRow= .Columns.Count:
myValue= .Value
End With