Dim oUsedRange as Excel.Range
Dim oRange as Excel.Range
oUsedRange = WorkSheets("Employees").UsedRange
For each oRange in oUsedRange <-- Blows up here with member not
found
Next
P.S. I'm using
VB.NET so there is no SET statement
Many Thanks in Advance