- ©«¤l
- 219
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows10
- ³nÅ骩¥»
- Office2016
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2012-4-18
- ³Ì«áµn¿ý
- 2022-2-7
|
[µo°Ý] ¨D§U,office2003Âàoffice2016°õ¦æ°»´ú¿ù»~¶¥¬q'3706 ½Ð°Ý¦p¦ó×¥¿
¥»©«³Ì«á¥Ñ HSIEN6001 ©ó 2019-9-16 02:25 ½s¿è
¨D§U,office2003Âàoffice2016°õ¦æ°»´ú¿ù»~¶¥¬q'3706 ½Ð°Ý¦p¦ó×¥¿?
¥t¥~,½Ð°Ý§Úªº¤Þ¥Î¶µ¥Ø¥¿½T?
- Sub ¤ÀªR()
- Dim myCN As New ADODB.Connection
- Dim myRS As New ADODB.Recordset
- myCN.Provider = "Microsoft.Jet.OLEDB.4.0"
- myCN.Properties("Data Source") = "D:\¸ê°T.accdb.accdb"
- myCN.Open
-
- With myRS
- .Source = "SELECT * FROM [# 00 ¤ÀªR]"
- .ActiveConnection = myCN
- .CursorType = 3
- .LockType = 3
- .Open '¶}±Ò¸ê®Æªí¤~¯à¨ú±o¸ê®Æ¦C
- Sheets("¸ÑªR").Select
- Range("I65536").End(xlUp)(2).Select '¶K¦b[?66536]³Ì¥½+1
- ActiveCell.CopyFromRecordset myRS
- .Close 'Ãö³¬¸ê®Æªí
- End With
- myCN.Close
- End Sub
½Æ»s¥N½X |
-
-
3706.jpg
(12.13 KB)
¿ù»~3706
|