ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦p¦ó³]¤@«ö¶s¡A´N¯à§â¤½¦¡Âà´«¹Lªº­È¡A¨ú¥N­ì¦³ªº­È?

¦^´_ 1# iceandy6150

¸Õ¥Î¬Ý¬Ý¡H §Ú·QÀ³¸ÓÁÙ·|¦³¤H¼gªº¤ñ§Ú§ó²µu§a¡C
¦pªGBªº ¹q¾÷¡Bªoº£...µ¥¡A³£¬O©T©w¦b«e­±¨â­Ó¡A§Ú·Q¥u»Ý­n¨Ï¥ÎMID´N¥i¡C
  1. Sub test()
  2. x = [A1].CurrentRegion.Rows.Count
  3. For i = 2 To x
  4.     Cells(i, "B") = Mid(Cells(i, "B"), 1, 2)
  5.     y = Application.Substitute(Cells(i, "C"), "¤é", ":")
  6.     y = Application.Substitute(y, "¤ë", ":")
  7.     y = Application.Substitute(y, "¦~", ":")
  8.     Cells(i, "C") = Application.Text(y, "hh¦~mm¤ëss¤é")
  9. Next i
  10. End Sub
½Æ»s¥N½X

TOP

¤W¶ÇÀÉ®×, ¤~¦n³B²z~~

TOP

        ÀR«ä¦Û¦b : ¬°¤H³B¥@­n¤p¤ß²Ó¤ß¡A¦ý¤£­n¡u¤p¤ß²´¡v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD