if applicable .. spent a lot of time to find, we need a more programmable - automatic answer, for the results - work on 1 line.
Dim N7 As String: N7 = RANGE("N7") 'workcell N7 shows eg: A:J Intersect(Rows(ActiveCell.row), RANGE(N7).Columns).Select 'YES ANSWER 'other: If application.Max(Intersect(Rows(ActiveCell.row), RANGE(N7).Columns)) > 0 Then MsgBox "YES" & Space(10), vbQuestion ', "title": end if & vbCr & Else: MsgBox "NO" & Space(10), vbQuestion: End If ', "title": end if & vbCr & 'Cells(ActiveCell.row, J6).OFFSET(, 1).RESIZE(, 6).Select 'YES: offset works on immediate cols for 1 row 'Cells(ActiveCell.row, J6).RESIZE(, 5).Select 'yes on 4 immediate cols for 1 row (row, col) 'Cells(ActiveCell.row, B5).select
work cell N7 has: = SUBSTITUTE (SUBSTITUTE (CELL ("address", $ A7), "$", "), LINE ()," ") &": "SUBSTITUTE (SUBSTITUTE (SUBSTITUTE (CELL (" address ", $ J7), "$", ""), ROW (), "")
source share