Select cells with Excel VBA
Closed
Tony
-
8 Jun 2010 à 14:34
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 8 Jun 2010 à 17:19
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 8 Jun 2010 à 17:19
Related:
- Select cells with Excel VBA
- Vba select case like - Guide
- Excel online vba - Guide
- Vba excel mac - Guide
- Excel vba timer - Guide
- Excel mod apk for pc - Download - Spreadsheets
1 response
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
8 Jun 2010 à 17:19
8 Jun 2010 à 17:19
Dim Cell As Range
Dim lMaxRows As Long
Set Cell = Cells.Find("*", Cells(1, "A"), SearchOrder:=xlByRows, SearchDirection:=xlPrevious)
If Cell Is Nothing Then
lMaxRows = 1
Else
lMaxRows = Cell.Row + 1
End If
Set Cell = Nothing