Hello
How can i incorporate the Range syntax into Cell syntax
incorporating from above code into below seems not working
Thanks NimishK
How can i incorporate the Range syntax into Cell syntax
Code:
Private Sub CmbBooks_click()
Dim idx As Long
idx = CmbBooks.ListIndex
If idx <> -1 Then
ws.Range("B" & idx +2 ).Value
End If
End sub
Code:
Dim idx As Long
idx = CmbBooks.ListIndex
If idx <> -1 Then
'ws.Cells(row, 2).value
ws.Cells(idx +2 ,2).value
End If
Last edited: