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

Excel¤¤ªº«ö¶s¬O¦p¦ó³]©w¤~¥i¥H±qÀY¨ì§Àªº¦C¥X¸ê®Æ©O¡H

Excel¤¤ªº«ö¶s¬O¦p¦ó³]©w¤~¥i¥H±qÀY¨ì§Àªº¦C¥X¸ê®Æ©O¡H

¦U¦ì¤j¤j¦n

·Q½Ð°Ý¤j¤jªþ¤WÀɮפ¤ªº¡uij®×²¼¥d¡v¡B¡u°Ê®×²¼¥d¡v¤¤ªº«ö¶s¬O«ç»ò°µªº©O¡H
(¥u­n¿é¤J¼Æ­È«á¡A´N·|±q¨º­Ó¼Æ­È¤@ª½¸õ¨ì³Ì§À³¡ªº¼Æ­Èµ²§ô)

¦A³Â·Ð¦U¦ì¤j¤jÀ°¤p¤k¸Ñ´b¤F¡CÁÂÁ¡I

´ú¸Õ.zip (38.72 KB)

ªþ¥ó¬O§O¤HªºÀɮקa¡H
­Y¬OÀ´±oµ{¦¡¡A¥i¦Û¦æ­×§ï®M¬Ý¬Ý¡I

§_«h¡A³Ì¦n¬O¤W¶Ç¦Û¤vªºÀɮסA®Ú¾Ú¹ê»Ú»Ý¨D¼gµ{¦¡¸û¾A¦X¡A
µ{¦¡¼gªk¦U¤H¤£¦P¡A§â»Ý¨D¸Ô²Ó»¡©ú¤~¦n¡I

TOP

ªþ¥ó¬O§O¤HªºÀɮקa¡H
­Y¬OÀ´±oµ{¦¡¡A¥i¦Û¦æ­×§ï®M¬Ý¬Ý¡I

§_«h¡A³Ì¦n¬O¤W¶Ç¦Û¤vªºÀɮסA®Ú¾Ú¹ê»Ú»Ý¨D¼g ...
­ã´£³¡ªL µoªí©ó 2016-3-2 13:35


ªþ¥ó¬O¤§«eªº¤H¯d¤U¨ÓªºÀÉ®×
¦]¬°¤£À´±o¦p¦ó¹B´T¡A©Ò¥H¦A«Ø·sªº¸ê®Æªº®É­Ô¡A³£¨S¿ìªk¡K

TOP

¥»©«³Ì«á¥Ñ lpk187 ©ó 2016-3-3 11:37 ½s¿è

¦^´_ 3# ÄÉ¡C

¨ä¹ê­n»s§@Ãþ¦üªºÀɮסA¨Ã¤£¬O«Ü§xÃø¡A«eÃD´N¹³­ã¤j»¡ªº¥²¶·²¤À´±oVBAµ{¦¡½X¡A
¨äªþÀÉ¥u¬O°µ´`Àô°Ê§@¦Ó¤w¡A¦Ó¥BVBAµ{¦¡½X¤]¥u¬O¥Î¨ì°ò¦°Ê§@
¥H¤Uªºµ{¦¡½X¡A¤]¥i¥H¹F¨ìÃþ¦üªþÀɪº°Ê§@

    Private Sub ¦C¦L_Click()
    Dim xFrom%, xTo%, I% '«Å§iÅܼÆ
    xFrom = Range("L1") 'Ū¨úÀx¦s®æL1ªº­È¡A¼g¤JÅÜ¼Æ xFrom
    xTo = Range("N1") 'Ū¨úÀx¦s®æN1ªº­È¡A¼g¤JÅÜ¼Æ xTo
    If xFrom = 0 Or xTo = 0 Then MsgBox "¿é¤J°Ï¤£±o¬°ªÅ¥Õ": GoTo 10 'Àˬd¿é¤J°Ï°ì¬O§_¬°ªÅ¥Õ¡A­Y¬OªÅ¥Õ¡AÂ÷¶}µ{¦¡
        For I = xFrom To xTo    '¥H xFrom ¨ì xTo °µ´`Àô
            [A2] = Sheets("¦W¥U").Cells(I, 1) '±N¦W¥U¤¤ªº§Ç¸¹¼g¨ì¤u§@°ÏªºA2Àx¦s®æ
            [B2] = Sheets("¦W¥U").Cells(I, 2) '´É§O
            [D2] = Sheets("¦W¥U").Cells(I, 3) '©m¦W
            [G2] = Sheets("¦W¥U").Cells(I, 5) '©Ò¦³Åv¤ñ¨Ò
            Worksheets("¤u§@°Ï").PrintOut '¦C¦L
        Next
10:
End Sub

TOP

¦^´_  ÄÉ¡C

¨ä¹ê­n»s§@Ãþ¦üªºÀɮסA¨Ã¤£¬O«Ü§xÃø¡A«eÃD´N¹³­ã¤j»¡ªº¥²¶·²¤À´±oVBAµ{¦¡½X¡A
¨äªþÀÉ¥u¬O ...
lpk187 µoªí©ó 2016-3-3 11:34


·PÁ¤j¤j¦^ÂСK:-)

TOP

        ÀR«ä¦Û¦b : ¤f»¡¦n¸Ü¡B¤ß·Q¦n·N¡B¨­¦æ¦n¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD