答案 0 :(得分:1)
在工作表中运行此VBA宏
Sub copyvalues()
Dim i As Long, j As Long, k As Long
k = 1
'Change the value to 200 to the last row number of your range
For i = 1 To 200
For j = 7 To 255
If Cells(i, j) <> "" Then
Range("F" & k).Value = Cells(i, j)
k = k + 1
End If
Next j
Next i
End Sub