Vừa tìm được code này thấy hữu dụng cho em cần refresh dữ liệu, nhất là dữ liệu xuất từ các chương trình ra excel mà không theo đúng format.
Sub RefreshCells()
' Selected the area where you want to change format
' Transforms selected area to chosen format
Dim mycell As Range
For Each mycell In Selection
mycell.Value = mycell.Value
Next mycell
End Sub
Nếu trùng mod xóa giùm nhé
Tks
Sub RefreshCells()
' Selected the area where you want to change format
' Transforms selected area to chosen format
Dim mycell As Range
For Each mycell In Selection
mycell.Value = mycell.Value
Next mycell
End Sub
Nếu trùng mod xóa giùm nhé
Tks