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

¦Û°Ê¶ñ¤J¥¼°µ¦C¦L¼Ð°Oªº§Ç¸¹

²{¤Sµo²{¤@­Ó°ÝÃD¡A½Ð°ÝÂàPDF¤@©w­n¹q¸£¦³¦w¸ËAdobe Acrobat ¶Ü??
¦]¦³ªºUser¸Ëªº¬O§K¶OÂàPDFªºµ{¦¡(¨Ò¦p:CutePDF  OR  PrimePdF)¡A¥Î³o­Ó³nÅ骺¤H¾Þ§@·|µLªkÂà¦sPDF­C....

TOP

¦^´_ 13# lpk187


    §Ú²×©óª¾¹D§Ú¿ù¦b­þ¸Ì¤F¡A¦]¬°¤§«eÂà¦s*.xlsb®É¡A¬O¦b¹wÄý¦C¦Lªº®É­Ô´N·|¥Í¦¨ÀɮסA¦P®É¤]¬O³QBeforePrint³o­Óeventµ¹»X½ª¤F¡A
    ©Ò¥H§Ú¤@ª½¥H¬°¹wÄý«á´NÀ³¸Ó²£¥Í·sÀÉ¡A¤S¦]¬°¦b´ú¸Õ¡A©Ò¥H¤@ª½¨S¯uªº«ö¦C¦L¡A¤~·|¤@ª½¤£²£¥ÍPDF
    ²{¦bOK¤F~~~¯u¬O·PÁÂlpk¤j¤j¹Æ....^__^

    ±µ¤U¨Ó¡Aºô¸ôºÏºÐ¾÷ªº±b/±K¡A­n½Ð¨ä¥L¥ý¶iÀ°À°¦£¹Æ......·PÁÂ~~~

TOP

¦^´_ 12# chi830


    Âà¦sPDFÀÉ¡A¦b§Ú´X¥x¹q¸£¸Õ³£¥i¥H¡A©Ò¥H§Ú¤]¤£ª¾°ÝÃD¦b­þ¡H§Ú¦A¬ã¨s¬Ý¬Ý
¦Ü©óºô¸ôªÚ¾F¡A¨þ¨þ¡I§Ú¨S¥Î¹L©Ò¥H¥u¦n½Ð¨ä¥L¤j¤j¦^µª¤F¡I

TOP

¦A½Ð±Ð¦sÀɪº¸ô®|¥i¥H¬OºôªÚ¤¤ªº¥ô¤@¥x¹q¸£
Patha = "\\BUS\SCAN\¥XªùÃÒ\"    '¦sÀɸô®|³o¼Ë¬O¥i¥H¦¨¥\ªº

¦ý­Y¦³±b¸¹/±K½X®É¡A­n«ç³Â¦b»yªk¤¤¥ý±N¸ê°T¿é¤J©O??

TOP

¸Õ¸Õ¬Ý
²Ä¤G­Ó°ÝÃD¦p¤U
Worksheets("²Î­p").Select
Range("A110").Select
Selection.Copy
'¤W­±ªº¦¡ ...
lpk187 µoªí©ó 2015-3-11 13:46



    ¸Õ¤F¤@¤U¡A¨S¦³¿z¿ï¤º®e¥X²{~
    «á¨Ó§âxlUp§ï¬°xlDown´N¥i¥H¤F
    Range("A1:L" & Cells(Rows.Count, "L").End(xlDown).Row).Copy

    ÁÂÁÂlpk187¥ý¶iªº´£ÂI~
    ²{¦b´N®tÂà¦sPDFªº°ÝÃD¤F.....

TOP

¦^´_ 8# lpk187


   ¤´¬OµLªk¦sPDFÀÉ©O~ ¤@¼Ëªº¿ù»~°T®§

TOP

¥»©«³Ì«á¥Ñ lpk187 ©ó 2015-3-11 13:57 ½s¿è

¸Õ¸Õ¬Ý
²Ä¤G­Ó°ÝÃD¦p¤U
Worksheets("²Î­p").Select
Range("A1:L10").Select
Selection.Copy
'¤W­±ªº¦¡¤F¥i¥H¤£¥Î¦³Select©Ò¥H¥i¥H¥u¼g¦¨¤U­±


'              vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv'³o¤@¥y¬O¥i¥H¦Û¤v§PÂ_¨ì­þ¤@¦C
Range("A1:L" & Cells(Rows.Count, "L").End(xlUp).row).Copy

TOP

¦¨«~¥XªùÃÒ+§Ç¸¹.rar (35.46 KB)
¸Õ¸Õ¬Ý
¦^´_ 7# chi830

TOP

¥»©«³Ì«á¥Ñ chi830 ©ó 2015-3-11 13:06 ½s¿è

¦^´_ 6# lpk187

    ¦¨«~¥XªùÃÒ+§Ç¸¹.zip (31.8 KB)

    ÂàPDF¥¢±Ñ¡A·|¥X²{¡u¤å¥ó¥¼Àx¦s¡C¤å¥ó¥i¯à¤w¶}±Ò¡A©Î¦bÀx¦s¹Lµ{¤¤µo¥Í¿ù»~¡v
   

    ¥t¥~½Ð±Ð¦]¡u²Î­p¡v©Ò¿z¿ï¤§µ²ªG¦³ªø¡A¦³µu
    ­Y¥Î Worksheets("²Î­p").Select
             Range("A1:L10").Select
             Selection.Copy
    ´N¥u·|½Æ»s¨ìA1:L10°Ï¶¡¸ê®Æ¡A¯à§_±N©Ò¦³µ²ªG³£COPY¨ì©O?

TOP

¥»©«³Ì«á¥Ñ lpk187 ©ó 2015-3-10 21:59 ½s¿è

¦^´_ 5# chi830


    ¥i¥H¦s¦¨PDFÀÉ¡A¤£¹L·|©MBeforePrint¨Æ¥ó§Î¦¨µL­­°j°é¡A©Ò¥H­n³]¤@­Ó°±·lÂIµ¹¥L¡A¤]´N¬O­n«Å§i¤@­Ó¤½¥ÎÅܼƵ¹¥L°µ°±·lÂI¡A´N¥i¥H¦s¦¨PDFÀɤF ¡A¥H¤U¥N½X§A¦A¸Õ¸Õ¬Ý¦æ¤£¦æ¡I
  1. Dim N! '«Å§i¤@­Ó¥i°µ°±·lªº¤½¥ÎÅܼÆ
  2. Private Sub Workbook_BeforePrint(Cancel As Boolean)
  3. If N > 0 Then
  4.     N = 0 'µ²§ô«e¥ý§âN³]¦^0¡A³o¼Ë´N¤S¥i¥H¤U¦¸°õ¦æBeforePrint¨Æ¥ó
  5.     Cancel = False '³o¸Ì«h¬O¯u¥¿°±¤î®É¡A¥i¥H¦C¦L¤å¥ó
  6.     End
  7. End If
  8. N = N + 1
  9. Cancel = True '°õ¦æ²Ä¤@¦¸_BeforePrint¨Æ¥ó®ÉÅý¥¦°±¤î¦C¦L
  10. Pr = Worksheets("²Î­p").Range("B2")
  11.     For Each fi In Worksheets("§Ç¸¹").Range("A2:A" & Worksheets("§Ç¸¹").Range("A65536").End(xlUp).Row)
  12.         If Pr = fi Then
  13.             Worksheets("§Ç¸¹").Cells(fi.Row, "B") = "V"
  14.             Exit For
  15.         End If
  16.     Next
  17. Patha = ThisWorkbook.Path & "\"
  18.     ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
  19.         Patha & Pr & ".pdf", Quality:=xlQualityStandard, _
  20.         IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
  21.         True
  22. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¦n¨Æ­n´£±o°_¡A¬O«D­n©ñ±o¤U¡A¦¨´N§O¤H§Y¬O¦¨´N¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD