答案1
以下是一些典型的代码:
Sub fillinthedata()
Dim sh As Worksheet, s As String
Set sh = Sheets("another sheet")
s = "20201225"
s2 = Right(s, 2) & Mid(s, 5, 2) & Left(s, 4)
For i = 1 To 8
sh.Range("A1").Offset(0, i - 1) = Mid(s2, i, 1)
Next i
End Sub