Horje
vba find last row in range for certain criteria Code Example
excel vba last row of range
Dim rRange As Range
Dim rDuplicate As Range

Set rRange = ActiveSheet.UsedRange
lFirstRow = rRange.Row
lLastRow = rRange.Rows.Count + rRange.Row - 1
lFirstColumn = rRange.Column
lLastColumn = rRange.Columns.Count + rRange.Column - 1
' New reference to current range (can be truncated)
Set rDuplicate = Range(Cells(lFirstRow, lFirstColumn), _
      Cells(lLastRow, lLastColumn))
vba find last row in range for certain criteria
Range("E3:E" & Cells(Rows.Count, "F").End(xlUp).Row) = DateSerial(Right(Range("Q1"), 2), 4, 1)




Vb

Related
get excel file from email attachment in vba Code Example get excel file from email attachment in vba Code Example
excel vba send HTTP POST to server Code Example excel vba send HTTP POST to server Code Example
excel protect cells with formulas Code Example excel protect cells with formulas Code Example
excel vba protect cells with formula Code Example excel vba protect cells with formula Code Example
vba text to general Code Example vba text to general Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7