Hi,
Is there any way to have a count feature applied to Charlize Code. so it counts the the department its duplicating.
Sub add_department_info()
Dim vDepartment As String
Dim cell As Range
For Each cell In Worksheets("Info").Range("C3:C" & Worksheets("Info").Range("C" & Rows.Count).End(xlUp).Row)
If cell.Offset(, -2).Value <> vbNullString Then
vDepartment = cell.Offset(, -2).Value
Else
cell.Offset(, -2).Value = vDepartment
End If
Next cell
End Sub
I found this: any ideas
Dim Counter as Integer
Dim TheLowestAmnt as Currency
' when an item is found in your loop
Counter = Counter + 1
WhatWasFound = Range("A1").Offset(Counter,0)
TheLowestAmnt = Application.WorksheetFunction.Min(Range("A1:A4")) or whatever the range will be where you write each found occurrence.
Thanking you all for your help and time at VBAX
Nurofen