- ©«¤l
- 8
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 10
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- office 2007
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦Á¤î
- µù¥U®É¶¡
- 2015-2-25
- ³Ì«áµn¿ý
- 2015-3-12
|
[µo°Ý] ·Q½Ð¯qn¦p¦ó¯à°÷¿ï¨úpdfÀɮ׫á¦A½Æ»s¶K¤W¨ìexcel¤W
¦U¦ì¯«¤H¤é¦w
¤p§Ì¨C¤Ñn¥´¶}pdf¡A½Æ»s¶K¤W¨ìexcel µM«á¦A±Æª©«áÂন¥t¤@Ópdf
³o¼Ëªº°Ê§@n«½Æ«Ü¦h¦¸¡A
¦]¦¹·Qn¯à°÷¥ÎVBA°µ¡A¿ï¨ú¤@Ópdf¡AµM«á§â¥L¥ÎVBA¦bexcel¤W½s±Æº}«G¤@ÂI«á¦AÂন¥t¤@Ópdfªº°Ê§@
³s³Ì«e±¶}±Òpdf«á½Æ»s¦A¶}±Òexcel¶K¤Wªº°Ê§@¡A·d¤F¦Ñ¥b¤Ñ³£·d¤£©w¡C
googleª¦¤F¥b¤Ñ³ºµMµo²{¨S¤Ó¦h¤H¦³¸ò§Ú¤@¼ËªººÃ°Ý@@¡A¦³¥~°êªB¤Í¬O¤À¨É¥Îsendkeysªº¤è¦¡¡A
¦ý¬O§Ú«ç»ò·d³£·d¤£©w¡A½Ð°Ý¦³¨S¦³þ¦ì¤j¯«¦³¿ìªk±Ï±Ï¤p§Ì¡A¸U¤À·PÁ <(_ _)>
ªþ¥ó¬O½d¥»ªºpdfÀɸò·QÂনªºexcel®æ¦¡
§Ú¼gªº¦³¿ù»~¡A¦ý¬O¤£ª¾¹D¿ù¦bþ- Sub ¥¨¶°4()
- Dim vFile As String
-
- '§ìÀÉ®×
- vFile = Application.GetOpenFilename(FileFilter:="Text Files (*.pdf),*.pdf", Title:="¿ï¾ÜÀÉ®×")
- If StrComp(TypeName(vFile), "Boolean", vbTextCompare) = 0 Then Exit Sub
-
- CreateObject("Scripting.FileSystemObject").Run (vFile)
- SendKeys ("^a"), True
- SendKeys ("^C"), True
- With Workbooks.Add
- With .Sheets(1)
- SendKeys ("^V"), True
- End With
- .SaveAs sName & "_§ï" & ".xlsx"
- .Close
- End With
- '
- End Sub
½Æ»s¥N½X |
|