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

[µo°Ý] ¤@­Ó¤u§@ªí«ö±ø¥ó¦s¬°¤£¦PPDF

¦^´_ 10# missbb


    ¥ý¦bEXCEL³]©w¦n¤ñ¸û§Ö,¤W¤è ¡iª©­±°t¸m¡j¥i½Õ¾ã

TOP

¦^´_ 11# starry1314


    ¦¨¥\, ¦hÁÂ!:'(

TOP

¦U¦ì,¦³·s°ÝÃD, ¦]·Q¥t³]¤@­Ó¿é¤Jªº¿ï¾Ü, ¤w©w¦p¤U, ¦p¦³¨â­Ó°ÝÃD¥¼°µ¨ì:
(1)  ¥H¢á¢Ö¢Ý¢Þ¢±¡@¿é¤J¢Ï¡A¡@¥tF¿é¤J"201507", ·QPDF FILE·|Âର"¢Ï¡@201507".PFD¦ý¥X²{¿ù»~
(2) ¦bÂàPDF«á, ¦p¦óªð¦^EXCEL, ¦]¬°­n±N¨C­ÓPDF³v­ÓÃö³¬.

Sub in_box2()
'
Dim shop2 As String
Dim f As String

'
    shop2 = InputBox("Enter your shop code")
    f = InputBox("Enter month of the report")
    Range("B4").AutoFilter Field:=4, Criteria1:=shop2
    Range("B4").CurrentRegion.Select
   
ChDir "C:\Users\Desktop\"
    ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, filename:= _
        "C:\Users\Desktop\" & f & "2015.pdf"), Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
        :=False, OpenAfterPublish:=True
'
   
End Sub

TOP

        ÀR«ä¦Û¦b : °ß¨ä´L­«¦Û¤vªº¤H¡A¤~§ó«i©óÁY¤p¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD