- ©«¤l
- 216
- ¥DÃD
- 71
- ºëµØ
- 0
- ¿n¤À
- 292
- ÂI¦W
- 0
- §@·~¨t²Î
- window xp
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2012-6-27
- ³Ì«áµn¿ý
- 2024-9-28
|
¦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 |
|