我有这段代码在这里...
For Each cell In worksheet.Cells(8, 2, lastRow, lastCol)
Select Case "What Goes Here"
End Select
Next
我希望能够验证当前单元格所在的列。我可以使用...
cell.Address
但是这样返回的字符串包含列字母和行数。是否有其他方法仅获取列的索引或字母,或者我只能像这样做...
If cell.Address.Contains("A")