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

[µo°Ý] ½Ð°Ý­n¦p¦ó±N¤G¦C¤À§O¶K¨ì吚¤GÄæ©O?

¦^´_ 10# oobird
¨S¿ù¡A©ñ¶i´`Àô¤¤¦ü¥G¬O¦h¦¹¤@Á|
¬Û«H¸ê®Æ¦h®É±N©ìºC³t«×¡A
´N¬O³oÂI¡A±`±`Åý§Ú¥Ç¤F©ìºCªº¯ÊÂI
¾Ç²ß¤¤¡A¦³¾Ç¨ì¡A·P®¦
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 9# gctsai
  1.     Dim myArray() As String
  2.     Dim i As Integer, j As Integer
  3.     Dim KROWEND%
  4.    
  5.     KROWEND = Cells(Rows.Count, 1).End(xlUp).Row
  6.     For j = 1 To KROWEND
  7.         myArray = Split(Cells(j, 1), Chr(10))
  8.         For i = 0 To UBound(myArray)
  9.             Sheets("sheet4").Cells(j, 1).NumberFormatLocal = "@"
  10.             Sheets("sheet4").Cells(j, 1 + i).Value = myArray(i)
  11.             Next i
  12.     Next j
½Æ»s¥N½X
¸Õ¸Õ¬Ý¤å¦r »P ¼Æ¦r §e²{¸û³ßÅw¨ººØ¡ANumberFormatLocal = "@" ¥ý³]©w
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

Sheets("sheet2").[b:b].NumberFormatLocal = "@"

©ñ¦b«e­±¡A¤£­n¦b´`Àô¤¤

TOP

¦^´_ 8# oobird

    ¤j¤j,½Ð°Ý¤@¤U¨º¦³¨S¦³¿ìªk¥Îvba©O?

TOP

§â¥ØªºÀx¦s®æ³]¬°¤å¦r®æ¦¡´N¥iÁקK«e­±0¤£¨£¤F¡C

TOP

¥»©«³Ì«á¥Ñ Happkkevin ©ó 2011-8-8 22:15 ½s¿è

¦^´_ 6# gctsai
­Y¬°©T©w 13 ¦ì¡A¨Ï¥Î NumberFormatLocal­×¥¿¡AÁÙ¦b¾Ç²ß¤¤
©Ò¥H¦³¨Ç§bªO¡A§Æ±æ¦³«ØijªÌ§iª¾
  1.     Dim myArray() As String
  2.     Dim i As Integer, j As Integer
  3.     Dim KROWEND%
  4.    
  5.     KROWEND = Cells(Rows.Count, 1).End(xlUp).Row
  6.     For j = 1 To KROWEND
  7.         myArray = Split(Cells(j, 1), Chr(10))
  8.         For i = 0 To UBound(myArray)
  9.             Sheets("sheet2").Cells(j, 1 + i).Value = myArray(i)
  10.             Sheets("sheet2").Cells(j, 1).NumberFormatLocal = "0000000000000"
  11.             Next i
  12.     Next j
  13.    
½Æ»s¥N½X
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 5# Happkkevin

¤j¤j:¥i¬O¼Æ¦r«e­±ªº0ÁÙ¬O¤£¨£¤F
  ¦p:­ì¥ý¬O008010114106
      ¶K¨ìsheet2«áÅܦ¨ 8010114106¤F

TOP

¦^´_ 4# gctsai
  1. Sub RetsuBunKatsu1()
  2.     Dim myArray() As String
  3.     Dim i As Integer, j As Integer
  4.     Dim KROWEND%
  5.    
  6.     KROWEND = Cells(Rows.Count, 1).End(xlUp).Row
  7.     For j = 1 To KROWEND
  8.         myArray = Split(Cells(j, 1), Chr(10))
  9.         For i = 0 To UBound(myArray)
  10.            Sheets("sheet4").Cells(j, 1 + i).Value = myArray(i)
  11.         Next i
  12.     Next j
  13. End Sub


  14.    
½Æ»s¥N½X
Sheets("sheet4").Cells(j, 1 + i)
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 3# Happkkevin

¤j¤j:µ{¦¡¬O¥i¥H¥Îªº,¦ý¬O
       1.¼Æ¦r³Ì«e­±ªº0¤£¨£¤F?
          2.¦pªG¬O¶K¨ìsheet2ªºa2,b2©O?

TOP

¥»©«³Ì«á¥Ñ Happkkevin ©ó 2011-8-7 19:21 ½s¿è

¦¹¾A¥Î¦h¸ê®Æ¹B¥Î¡A¥H Split ¥[¤W Chr(10) ¤Á³Î¤å¦r
  1. Dim myArray() As String
  2.     Dim i As Integer, j As Integer
  3.     Dim KROWEND%
  4.    
  5.     KROWEND = Cells(Rows.Count, 1).End(xlUp).Row
  6.     For j = 1 To KROWEND
  7.         myArray = Split(Cells(j, 1), Chr(10))
  8.         For i = 0 To UBound(myArray)
  9.             Cells(j, 2 + i).Value = myArray(i)
  10.         Next i
  11.     Next j
½Æ»s¥N½X
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : ÀR§¤±`®¦¤v¹L¡B¶¢½Í²ö½×¤H«D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD