Hi Forum,
I need to check records in an Excel 2016 file - Column D.
If this is "X" Then I need to save the Cell Value Offset -4 - Column A to Variable "SORef"
Then I need to Loop through all Rows in Column A with the same "SORef and change the Cell Value for Column D to "X"
This may mean checking Up and Down.
Should be simple but I am new to Excel VBA and cannot seem to get this started
Appreciate any support.
Column is
I need to check records in an Excel 2016 file - Column D.
If this is "X" Then I need to save the Cell Value Offset -4 - Column A to Variable "SORef"
Then I need to Loop through all Rows in Column A with the same "SORef and change the Cell Value for Column D to "X"
This may mean checking Up and Down.
Should be simple but I am new to Excel VBA and cannot seem to get this started

Appreciate any support.
Column is