A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
That's okay take your time.
In the meanwhile, I tried to address the code with the help of the recorder. But I was hoping, if I can use For Each, Next construct.
However, I face issue with all boarders. The template I use has conditional formatting so if I use Clear instead of Clear.Contents conditional formatting is gone.
Clear.contents leave the boarders and when I run the macro with a different input number now the boarders are beyond the last row.
Range("A4").Select
Selection.End(xlDown).Select
ActiveCell.Offset(0, 14).Range("A1").Select
Range(Selection, Selection.End(xlUp)).Select
Selection.FormulaR1C1 = "New York"
Range("A4").Select
Selection.End(xlDown).Select
ActiveCell.Offset(0, 15).Range("A1").Select
Range(Selection, Selection.End(xlUp)).Select
Selection.FormulaR1C1 = "=TODAY()"
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks \_
:=False, Transpose:=False
Range("A4").Select
Selection.End(xlDown).Select
ActiveCell.Offset(0, 16).Range("A1").Select
Range(Selection, Selection.End(xlUp)).Select
Selection.FormulaR1C1 = "C"
Range("O3").Select
ActiveCell.FormulaR1C1 = "Location"
Range("P3").Select
ActiveCell.FormulaR1C1 = "Date"
Range("Q3").Select
Selection.FormulaR1C1 = "Result"
Range("A3").Select
PS. it is a space I get a value of 32 and I am aware of the notorious CHAR 160. I made a mistake, I input the wrong number that is from the B column instead of A column. Later realized that the table has a flaw while filtering.