![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Singapore
Posts: 77
|
say i need to get the row number of the last used cell in column A. And also need to trap the information of column C in the same row. All these are in VBA codes. Not Match or VLOOKUP in spreadsheet.
thx for help |
|
|
|
|
|
#2 | |
|
Guest
Posts: n/a
|
Quote:
Function LastCellInColumn(ColNumber As Integer) LastCellInColumn = ActiveSheet.Cells(65536, ColNumber).End(xlUp).Row End Function HTH, D |
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Singapore
Posts: 77
|
Thx! This may be a good one. I will use it if can't find better ones.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|