±qWord¤å¥ó¤¤ªºªí®æ¸ê®ÆÂಾ¦ÜExcel
- ©«¤l
- 135
- ¥DÃD
- 19
- ºëµØ
- 0
- ¿n¤À
- 165
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-12-9
- ³Ì«áµn¿ý
- 2012-8-27
|
±qWord¤å¥ó¤¤ªºªí®æ¸ê®ÆÂಾ¦ÜExcel
³oÓµ{¦¡¬O¦b³Â»¶½×¾Âcopy¥X¨Óªº- Sub copyfromword()
- Dim wordapplication As Word.Application, worddocument As Object
- Dim r, c As Integer
- Set wordapplication = CreateObject("word.application")
- Set worddocument = wordapplication.Documents.Open(ThisWorkbook.Path & "\myword.doc")
- With worddocument.Tables(1)
- For r = 1 To .Rows.Count
- For c = 1 To .Columns.Count
- Cells(r, c) = .Cell(r, c)
- Next c
- Next r
- End With
- worddocument.Close
- wordapplication.Quit
- Set wordapplication = Nothing
- Set worddocument = Nothing
- End Sub
½Æ»s¥N½X Set wordapplication = CreateObject("word.application") ³o¦æ¥X²{Error 13«¬ºA¤£²Å¦Xªº¿ù»~«ü¥Ü
À³«ç¼Ë¸Ñ¨M |
|
80 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 135
- ¥DÃD
- 19
- ºëµØ
- 0
- ¿n¤À
- 165
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-12-9
- ³Ì«áµn¿ý
- 2012-8-27
|
§Ú¦bdeclare¤¤§R¤Fword.application´N¦æ¤F,¦hÁ¦U¦ì¸Ñµª |
|
80 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¦^´_ 3# FAlonso
§Ú´ú¸Õ¹Lµ²ªG¬O¥¿±`ªº³á,
¥t¥~¦³¤@¦æ«Øijץ¿¤@¤U :
Set worddocument = wordapplication.Documents.Open(Chr(34) & ThisWorkbook.Path & Chr(34) & "\myword.doc")
¨ä¤@ 즡¦ü¥G¤Ö¤@Ó &
¨ä¤G 즡Y©ó¸ÓÀɮ׬O©ñ¦b½Ñ¦p "§Úªº¤å¥ó" ³oÃþ¥Ø¿ý¤¤¶¡¦³ ªÅ®æ ªº±¡§Î®É·|§ä¤£¨ì¨ºÓWordÀÉ. |
|
|
|
|
|
|
- ©«¤l
- 135
- ¥DÃD
- 19
- ºëµØ
- 0
- ¿n¤À
- 165
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-12-9
- ³Ì«áµn¿ý
- 2012-8-27
|
¿ï¾Ü¤Fword library,ÁÙ¬O¦Ñ¼Ë¤l. ¤£ª¾¦ó¸Ñ?
¦¹Àɮשñ¦b¹q¸£¤@°}¤l,©~µM¦Û¤v¤]§Ñ¤F¦p¦ó¸Ñ¨M |
|
80 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|