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

§ìªÅ®æ¨ìªÅ®æ¤§¶¡ªº¦r¦ê

§ìªÅ®æ¨ìªÅ®æ¤§¶¡ªº¦r¦ê

¦U¦ì«e½ú
¤p§Ì¥\¤O¤£°÷,«e¨Ó¾Ç²ß,§Æ±æ«e½ú¯à¥uÂI°g¬z ,·PÁÂ..

·Q§ì¨ì §ìªÅ®æ¨ìªÅ®æ¤§¶¡ªº¦r¦ê
Ãþ¦ü¥H¤U¬õ¦â°Ï¶ôªº³¡¤À,·PÁÂÀ°¦£..
Never put off till tomorrow what may be done today

§ìªÅ®æ¨ìªÅ®æªº¦r¦ê.rar (6.14 KB)

¦^´_ 1# s13983037
¸Õ¸Õ¬Ý
  1. Option Explicit
  2. Sub Eu()
  3.     Dim S As String, AR As Variant, i As Integer
  4.     S = "Never put off till tomorrow what may be done today"
  5.     AR = Split(S, " ")
  6.     S = ""
  7.     For i = 1 To 2
  8.         S = IIf(S = "", "", S & " ") & AR(i)
  9.     Next
  10.     MsgBox S
  11.     S = ""
  12.     For i = 4 To 6
  13.         S = IIf(S = "", "", S & " ") & AR(i)
  14.     Next
  15.     MsgBox S
  16. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¥»©«³Ì«á¥Ñ s13983037 ©ó 2014-12-12 10:36 ½s¿è

¦^´_ 2# GBKEE

GBKEE«e½ú±z¦n

¥i¯à§Ú¨S¦³ªí¹F±o¤£¬O«Ü¥¿½T,¥D­n¬O·Q§âAÄ檺¸ê®Æ¦L¦bBÄæ©ÎCÄæ,¦pªG¥i¥Hªº¸Ü¦A³Â·Ð±z¤F

§Ú¹Á¸ÕµÛ±Nµ{¦¡½X°µ­×¥¿

Dim S As String, AR As Variant, i As Integer
For ROW = 1 to 100
    S = Range("A"&ROW)
    AR = Split(S, " ")
    S = ""
    For i = 1 To 2
        S = IIf(S = "", "", S & " ") & AR(i)
    Next
    MsgBox S
    S = ""
    For i = 4 To 6
        S = IIf(S = "", "", S & " ") & AR(i)
    Next
    MsgBox S
Range("B"&Row).value= S
Range("C"&Row).value= S
Next

§ìªÅ®æ¨ìªÅ®æªº¦r¦ê.rar (6.54 KB)

TOP

  1. Dim S As String, AR As Variant, i As Integer
  2. For Row = 1 To 100
  3.     S = Range("A" & Row)
  4.     AR = Split(S, " ")
  5.     S = ""
  6.     For i = 1 To 2
  7.         S = IIf(S = "", "", S & " ") & AR(i)
  8.     Next
  9.     Range("B" & Row).Value = S
  10.     S = ""
  11.     For i = 4 To 6
  12.         S = IIf(S = "", "", S & " ") & AR(i)
  13.     Next
  14.     Range("C" & Row).Value = S
  15. Next
½Æ»s¥N½X
¦^´_ 3# s13983037

TOP

¦^´_ 4# ashan0418


    ÁÂÁÂÀ°¦£

TOP

¦^´_ 2# GBKEE


    GBKEE«e½ú±z¦n
§ìªÅ®æ¨ìªÅ®æ¤§¶¡ªº¦r¦ê,¦pªG§ï¦¨§Ú¬O­n§ì³r¸¹¨ì³r¸¹ªº¸Ü ¬O­n¥h­×§ï­þ¤@­Ó³¡¤À,¥H¤U¬O§Ú¸Õ¥X¨Óªº,§ìªÅ®æ¨ìªÅ®æªº,·Qª¾¹D¥h­þÃä§â¥L­×¥¿¦¨,¨ì³r¸¹,¦pªG¥i¥Hªº¸Ü¦A³Â·Ð±z´£ÂI°g¬z ·PÁÂ

For Row = 1 To 100
    S = Range("A" & Row)
    AR = Split(S, " ")
    S = ""
    For i = 1 To 2                                                                   '§ì²Ä1­ÓªÅ®æ¨ì²Ä2®æªÅ®æªº¦r¦ê
    On Error Resume Next                    '//////////©¿²¤¿ù»~
        S = IIf(S = "", "", S & " ") & AR(i)
    Next
    Range("B" & Row).Value = S
    S = ""
    For i = 4 To 6                                  '§ì²Ä¥|­ÓªÅ®æ¨ì²Ä¤»®æªÅ®æªº¦r¦ê
        S = IIf(S = "", "", S & " ") & AR(i)
    Next
    Range("C" & Row).Value = S
Next

TOP

¦^´_ 6# s13983037
¸Õ¸Õ¬Ý
  1. S = Range("A" & Row)
  2.     AR = Split(S, ",")
  3.     S = ""
  4.     For i = 1 To 2                                                                   '§ì²Ä1­ÓªÅ®æ¨ì²Ä2®æªÅ®æªº¦r¦ê
  5.     On Error Resume Next                    '//////////©¿²¤¿ù»~
  6.         S = IIf(S = "", "", S & ",") & AR(i)
  7.     Next
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 7# GBKEE

·PÁ±zªº¨ó§U!!!§Ú¤F¸Ñ¤F

TOP

        ÀR«ä¦Û¦b : ¥ÌÄ@°µ¡BÅw³ß¨ü¡C
ªð¦^¦Cªí ¤W¤@¥DÃD