=====程式碼===== Private Sub Worksheet_Change(ByVal Target As Range) Dim KeyCells As Range Dim DteValue As String Dim YY As String Dim MM As String Dim DD As String Set KeyCells = Range("A:A") If Not Application.Intersect(KeyCells, Range(Target.Address)) Is Nothing And Len(Target.Cells) = 8 Then DteValue = Target.Value YY = Left(DteValue, 4) MM = Mid(DteValue, 5, 2) DD = Right(DteValue, 2) Target.Cells = YY + "/" + MM + "/" + DD End If End Sub =====程式碼=====
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
You are receiving this email because you subscribed to this feed at blogtrottr.com.