becca51178
Board Regular
- Joined
- Feb 19, 2012
- Messages
- 64
I need a VBA macro that will check the values in a column for "NFR, if it finds it then I need it check all the values on the same row
Range(0, 3) - Range(0,6) and any of them that is not blank I want to create a worksheet with the value
This is what I have so far
With ActiveSheet
lRow = .Cells(.Rows.count, 1).End(xlUp).Row
lCol = .Cells(13, .Columns.count).End(xlToLeft).Column
For Each rng In Range("K13:K" & lRow)
If rng.Value = "NFR" Then
Range(0, 3) - Range(0,6) and any of them that is not blank I want to create a worksheet with the value
This is what I have so far
With ActiveSheet
lRow = .Cells(.Rows.count, 1).End(xlUp).Row
lCol = .Cells(13, .Columns.count).End(xlToLeft).Column
For Each rng In Range("K13:K" & lRow)
If rng.Value = "NFR" Then