とりあえずマクロでしたら以下の方法で試してみてください。
Sub Teat()
Dim data As Variant
Dim i As Long
Dim LastRow As Long, LastColumn As Long, FirstColumn As Long
LastRow = 27
FirstColumn = Range("B4").Column
LastColumn = Range("I4").Column 'Sheets("Sheet1").Cells(3, Columns.count).End(xlToLeft).Column
For i = FirstColumn To LastColumn
data = Range(Cells(4, i), Cells(LastRow, i)).Value
Call Reverse(data)
Range(Cells(4, i), Cells(LastRow, i)).Value = data
Next
End Sub
Sub Reverse(ByRef data As Variant)
Dim low As Long
low = LBound(data, 1)
Dim high As Long
high = UBound(data, 1)
Dim temp() As Variant
ReDim Preserve temp(low To high)
Dim count As Long
count = (high - low) + 1
Dim i As Long
For i = 0 To count - 1
temp(low + i) = data(high - i, 1)
Next
For i = 0 To count - 1
data(low + i, 1) = temp(low + i)
Next
End Sub
参考:
https://www.tipsfound.com/vba/02021
お礼
出来ました。 (初歩?)テクニックを1つ覚えました。 ありがとうございました。