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

[µo°Ý] ¦hµ§EXCEL·j´Mªº¥Îªk[¤w¸Ñ¨M 2011-05-11]

[µo°Ý] ¦hµ§EXCEL·j´Mªº¥Îªk[¤w¸Ñ¨M 2011-05-11]

¥»©«³Ì«á¥Ñ mark15jill ©ó 2011-5-11 15:06 ½s¿è

¦pÃD..
¦]¸ê®Æ¼Æ«Ü¦h¡A·Q»¡¥Î¤@­ÓEXCEL VBA ±N¨äÃöÁä¦r·j´M¥X¨Ó ¨Ã¥B ¥t¦s¤@¥÷·sªºEXCELÀÉ®×
¦pªþÀÉ...
¯à.rar (28.27 KB)

¤è«Kªº¸Ü¡A¯à§_¦b¯à§ó§ïªº¦a¤è¥[µù¤@¤U¡A·P®¦!!
¦]¦³ª¦¤å ¦ý¬O³£¥u¦³ ³¡¥÷¬ÛÃöªº¸ê°T ¨ÃµL²Î¾ãªº..
¦p¬Ý¤£À´ ©ÒªþªºÀÉ®× ½Ð§iª¾

¦^´_ 15# GBKEE


    ¦hÁ«ü¾É><
²ßºD©Ê³£·|¦h«ü©w¨º­Ó...

TOP

¦^´_ 14# mark15jill
9¼Óµ{¦¡½X¤¤ªº .Sheets(1).Name = Sh.TextBox1      '¤u§@ªí¦WºÙ
        ³o¬õÂIªí¥Ü¦b©Ò·s¼Wªº¬¡­¶Ã¯¸Ì ¤£¥²¦A¦³   Sheets(1).Select

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2011-5-11 10:39 ½s¿è

End Sub[/code]¦^´_ 13# GBKEE
­è­èµo²{ §Ú¨º¨â¦æ¦ì¸m¦³¥´¿ù= =....(À³¸Ó¬O«á¨Ó§Ú¤S¶Ã§ï ¨Sª`·N¨ì ©êºp£½£¿)
­ì©l½X®t§O ¤w¸gªþ¥[ÀÉ®×

¥H¤U¬O¨âªÌªº¥N½X

¥xÆWªº³¡¥÷
Sub «ö¶s5_Click()
    Dim Sh As Object

    On Error Resume Next

    Set Sh = ThisWorkbook.Sheets(1)

   
    With Workbooks.Add(xlWBATWorksheet)
          Sheets("sheet1").Select      
          Sheets("sheet1").Name = Sh.TextBox1 ' ·s¼Wªº¨º­ÓÀɮפºªº¦WºÙ¬° TEXTªº¦r²´
          Sh.UsedRange.Offset(1).Copy .Sheets(1).[A1]

         .SaveAs ThisWorkbook.Path & "\" & Sh.TextBox1

        .Close 0

    End With

End Sub


¬ü°êªº³¡¥÷
Sub «ö¶s5_Click()
    Dim Sh As Object

    On Error Resume Next

    Set Sh = ThisWorkbook.Sheets(1)

   
    With Workbooks.Add(xlWBATWorksheet)

        Sh.UsedRange.Offset(1).Copy .Sheets(1).[A1]

         .SaveAs ThisWorkbook.Path & "\" & Sh.TextBox1

        .Close 0
        ' Sheets("Sheet1").Select
        ' Sheets("Sheet1").Name = Sh.TextBox1
    End With

End Sub


ªþ¥[Àɮפº¦³¨â­Ó TXT ©M EXCELÀÉ®×  ¤À§O¬° ¬ü°ê©M ¥xÆW
¬d¸ß¤ñ¹ï.rar (10.14 KB)

TOP

¦^´_ 12# mark15jill
­×§ïªºµ{¦¡,¯uªº¦³¹F¨ì§A¥Ø¦a¶Ü?
Sub «ö¶s5_Click()
    Dim Sh As Object
    On Error Resume Next      'On Error : ·íµ{¦¡°õ¦æ®É¦³¿ù»~®É,   Resume Next : Ä~Äò³B¸Ì¤U¤@­Óµ{¦¡½X
                                               
    Set Sh = ThisWorkbook.Sheets(1)
    With Workbooks.Add(xlWBATWorksheet)
        Sh.UsedRange.Offset(1).Copy .Sheets(1).[A1]
         .SaveAs ThisWorkbook.Path & "\" & Sh.TextBox1  

          'SaveAs: ·í¥Ø¿ý¤¤¦³¬Û¦PªºÀɦW ¨t²Î·|¸ß°Ý¬O§_Âл\­ìÀÉ®×  ¦p¿ï¾Ü [§_] ©Î[¨ú®ø] ³£·|²£¥Í¿ù»~­È
          'On Error ´N¬O¦b³B¸Ì³o¿ù»~
        .Close 0                                 '¦p¿ï¾Ü [§_] ©Î[¨ú®ø]: ÀÉ®×Ãö³¬¥B¤£¦sÀÉ
         Sheets("Sheet1").Select   'ÀɮפwÃö³¬:½Ð°Ý³o¸Ìªº Sheets("Sheet1")¬O­þ¤@­Ó??
         Sheets("Sheet1").Name = Sh.TextBox1
    End With
End Sub

TOP

³o¨Ç¬O¥H¤j¤jªºµ{¦¡½X ¥[¥H©µ¦ùªº..
  1. Sub «ö¶s5_Click()
  2.     Dim Sh As Object

  3.     On Error Resume Next

  4.     Set Sh = ThisWorkbook.Sheets(1)

  5.    
  6.     With Workbooks.Add(xlWBATWorksheet)

  7.         Sh.UsedRange.Offset(1).Copy .Sheets(1).[A1]

  8.          .SaveAs ThisWorkbook.Path & "\" & Sh.TextBox1

  9.         .Close 0
  10.           Sheets("Sheet1").Select
  11.          Sheets("Sheet1").Name = Sh.TextBox1
  12.     End With

  13. End Sub
½Æ»s¥N½X
¦^´_ 11# GBKEE

TOP

¦^´_ 10# mark15jill
3.¨º­Ó­ì©l½X ¬O®M¥Î¤j¤j±zªº   ¥i¬O ­è¦³¸ÕÅç¹L ¤£¯à ¤£¹L«á¨Ó¦³·s¼W§Ú¦Cªº¨â¦æ ´NOK¤F...´N¬Osheet1 Åܦ¨ TEXT¦WºÙ  (¤£ª¾¹D­þ¥X¿ù-0-)
¥i¶Ç¤W§¹¾ãµ{¦¡½X¬Ý¬Ý??

TOP

¦^´_ 9# GBKEE

1.·íµM¨S°Ê§@XD!!    ¦]¬°¤£ª¾¹D­n«ç¼g ©Ò¥H ... ¤£¹L²{¦b¤w¸g¸Ñ¨M¤F ÁÂÁÂ
3.¨º­Ó­ì©l½X ¬O®M¥Î¤j¤j±zªº   ¥i¬O ­è¦³¸ÕÅç¹L ¤£¯à ¤£¹L«á¨Ó¦³·s¼W§Ú¦Cªº¨â¦æ ´NOK¤F...´N¬Osheet1 Åܦ¨ TEXT¦WºÙ  (¤£ª¾¹D­þ¥X¿ù-0-)
4.¤F¸Ñ¨º¦æªº·N«ä¤F... ÁÂÁÂ...

TOP

¦^´_ 8# mark15jill
1.¨â­Ó³£¨S¤º®e+.+     
¨S¦³µ{¦¡½Xªü, ·|¦³°Ê§@¶Ü?
3.·s¼W«áªº¬¡­¶Ã¯¦WºÙ¥¼§ïÅÜ.. ¤£¹L­è­è¤w¸g¸Ñ¨M¤F..
  1. Private Sub ¦sÀÉ()
  2. Dim Sh As Object
  3. On Error Resume Next
  4. Set Sh = ThisWorkbook.Sheets(1)
  5. With Workbooks.Add(xlWBATWorksheet)
  6. Sh.UsedRange.Offset(1).Copy .Sheets(1).[A1]
  7. .Sheets(1).Name = Sh.TextBox1      '¤u§@ªí¦WºÙ
  8. .SaveAs ThisWorkbook.Path & "\" & Sh.TextBox1
  9. .Close 0
  10. End With
  11. End Sub
½Æ»s¥N½X

4.¦]¬°§Ú½d¨ÒÀÉ®×¥u¦³¨ìHÄæ¦ì   ¹ê»Ú¤W«o¬O¨ìZÄæ¦ì0.0..
§ï¬õ¦r³¡¦ì
.Offset(1).Resize(1,26) = Sh.Range(Sh.Cells(Rng.Row, "A"), Sh.Cells(Rng.Row, "Z")).Value

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2011-5-10 16:06 ½s¿è

¦^´_ 7# GBKEE

1.¨â­Ó³£¨S¤º®e+.+
Sub «ö¶s5_Click()

End Sub
Sub «ö¶s6_Click()

End Sub

2.¤w¸g¸Ñ¨MµLªk¦sÀÉ ©M µL®Ä°ÝÃDQQ  ÁÂÁ±z
­è­è§âµ{¦¡¤À¶}¸Ë...
©î¦¨¨â³¡¥÷¥á¥h¨âÃä..

3.·s¼W«áªº¬¡­¶Ã¯¦WºÙ¥¼§ïÅÜ.. ¤£¹L­è­è¤w¸g¸Ñ¨M¤F..
­ì¥»¬Osheet1.  §Ú¦h+¤F¨â¦æ..
   

        .Close 0
          Sheets("Sheet1").Select
         Sheets("Sheet1").Name = Sh.TextBox1


4.¥t¥~½Ð°Ý¤@¤U  
¦pªG¨º¼Ëªº¸Ü ¨º¬O¥u­n¦P¤@¦Cªº¸ê®Æ ¤£ºÞ¦³¦h¤Ö ³£·|¦C¥X¨Ó¶Ü??
¦]¬°§Ú½d¨ÒÀÉ®×¥u¦³¨ìHÄæ¦ì   ¹ê»Ú¤W«o¬O¨ìZÄæ¦ì0.0..

¦A¦¸·PÁ±z  :lol

TOP

        ÀR«ä¦Û¦b : ¦³¤ß´N¦³ºÖ¡A¦³Ä@´N¦³¤O¡A¦Û³yºÖ¥Ð¡A¦Û±oºÖ½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD