Select cells with Excel VBA
Closed
Tony
-
Jun 8, 2010 at 02:34 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Jun 8, 2010 at 05:19 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Jun 8, 2010 at 05:19 PM
Related:
- Select cells with Excel VBA
- Vba select case like - Guide
- Number to words in excel formula without vba - Guide
- Excel mod apk for pc - Download - Spreadsheets
- How to open vba in excel - Guide
- Excel marksheet - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Jun 8, 2010 at 05:19 PM
Jun 8, 2010 at 05:19 PM
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