µù¥U
µn¿ý
º¶
½×¾Âª©³W
¸T¤î¦Cªí
»¡©ú
¦a¹Ï
¼Æ¦ì®Ñ»
¨p¤H®ø®§ (0)
¤½¦@®ø®§ (0)
½×¾Â¥ô°È (0)
¨t²Î®ø®§ (0)
¦n¤Í®ø®§ (0)
©«¤l®ø®§ (0)
³Â»¶®a±Ú°Q½×ª©ª©
»
Excelµ{¦¡°Ï
» Excel³sµ²¦³¥[±KAccess¸ê®Æ®w»yªk°£¿ù
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
µo©«
[µo°Ý]
Excel³sµ²¦³¥[±KAccess¸ê®Æ®w»yªk°£¿ù
Changbanana
µoµu®ø®§
¥[¬°¦n¤Í
Changbanana
·í«eÂ÷½u
UID
25664
©«¤l
76
¥DÃD
17
ºëµØ
0
¿n¤À
95
ª÷¿ú
95
ÂI¦W
0
§@·~¨t²Î
windowsxp
³nÅ骩¥»
office2007
¾\ŪÅv
20
©Ê§O
¤k
¦b½u®É¶¡
164 ¤p®É
µù¥U®É¶¡
2016-8-19
³Ì«áµn¿ý
2021-5-5
¤¤¾Ç¥Í
©«¤l
76
¥DÃD
17
ºëµØ
0
¿n¤À
95
ÂI¦W
0
§@·~¨t²Î
windowsxp
³nÅ骩¥»
office2007
¾\ŪÅv
20
©Ê§O
¤k
µù¥U®É¶¡
2016-8-19
³Ì«áµn¿ý
2021-5-5
1
#
¸õÂà¨ì
»
˧Ǭݩ«
¥´¦L
¦rÅé¤j¤p:
t
T
µoªí©ó 2018-8-6 14:18
|
¥u¬Ý¸Ó§@ªÌ
[µo°Ý]
Excel³sµ²¦³¥[±KAccess¸ê®Æ®w»yªk°£¿ù
HI ¦U¦ì«e½ú°ª¤â
¥Ø«e¦bexcel¤¤¼g¤F¥¨¶°³sµ²access¸ê®Æ®w
¦b¥¼¥[±K¤§«e¬O¥i¶¶§Q°õ¦æªº
¦ý¤@§âaccess¥[±K«á
access¥X²{
¤U¸ü
(8.13 KB)
²§±`°T®§
2018-8-6 14:10
run excelµ{¦¡´N·|¥X²{¤£¬O¦³®Ä±K½Xªº¿ù»~¥N½X
ºô¤W¬d¹L«Ü¦h¸ê°T¤F¦ý³£µLªk¸Ñ¨M0.0
·Q½Ð°Ý¸Ó¦p¦óקïaccess¥[±K»yªk?
Private cnnDB As ADODB.Connection
Private recSet As ADODB.Recordset
Private cnnStr As String
Sub Main()
Dim tblName As String
Set cnnDB = New ADODB.Connection
Set recSet = New ADODB.Recordset
'¦¹¦æµL¥[±K¡A¥i¹B¦æ
' cnnStr = "Provider=Microsoft.ACE.OLEDB.12.0;" & "Data Source=" & ThisWorkbook.Path & "\Database3.accdb;" & "Jet OLEDB:Database"
'¦¹¦æ¬Oaccess¦³¥[±K·|¥X²{¿ù»~
cnnStr = "Provider=Microsoft.ACE.OLEDB.12.0;" & "Data Source=" & ThisWorkbook.Path & "\Database3.accdb;" & "Jet OLEDB:Database Password=123"
tblName = "User_List"
cnnDB.Open cnnStr
With recSet
.CursorLocation = adUseClient
.Source = "SELECT * FROM " & tblName & " where [Number]= '" & Worksheets("main").Range("C5") & "';"
.ActiveConnection = cnnDB
.Open
End With
If recSet.RecordCount > 0 Then
MsgBox ("¨Ï¥Î¤Hû¤wµn¤J" & vbCrLf & _
"Welcome, User.")
recSet.Close
cnnDB.Close
Set recSet = Nothing
Set cnnDB = Nothing
Else
MsgBox ("¬dµL¨Ï¥Î¤Hû"), vbExclamation
End If
End Sub
½Æ»s¥N½X
access¥[±K.zip
(415.17 KB)
¤U¸ü¦¸¼Æ: 5
2018-8-6 14:15
¼Ó¥D¼ö©«
¤£¦P¤u§@ªí¸ê®Æ¹ï·Ó(Àx¦s®æ¦³¥Î"/"¤À¹j)
§R°£«½Æ«á¡A´M§ä«½Æ«È¤á¸¹½X¥[Á`È
¦h¦æ¸ê®Æ¦X¨Ö¬°¤@¦æ
¦b¤£¦P¤u§@ªí¤¤§ä´M©³¦â¬Û¦Pªº¸ê®Æ¨Ã§R°£
¦bexcel¤¤¸ê®Æ·s¼W«á¡AAccess¸ê®Æªí¤¤ªº¸ê®Æ
§ä´MªÅ®æ«á¡A¥[Á`¥¦Äæ¨äÈ
¨Ï¥Î¥¨¶°¾ã²z¸ê®Æ
±qexcel¤¤¥h§R°£access¸Ìªº¸ê®Æ
¨Ì¦WºÙ¹ïÀ³¨ì½s¸¹(«½Æªº¦WºÙnÅã¥Ü¥X¨Ó)
¨â¶¥¬q±ø¥ó²Å¦X«á¦A¶i¦æpºâ
¦¬ÂÃ
¤À¨É
imingho
µoµu®ø®§
¥[¬°¦n¤Í
imingho
(¹ü¤Æ¤@¾ã¤Ñ)
·í«eÂ÷½u
UID
13049
©«¤l
56
¥DÃD
11
ºëµØ
0
¿n¤À
115
ª÷¿ú
115
ÂI¦W
0
§@·~¨t²Î
windows
³nÅ骩¥»
windows 7
¾\ŪÅv
20
©Ê§O
¨k
¦b½u®É¶¡
379 ¤p®É
µù¥U®É¶¡
2013-3-13
³Ì«áµn¿ý
2023-7-13
¡@¼ÊºÙ:
¹ü¤Æ¤@¾ã¤Ñ
¤¤¾Ç¥Í
©«¤l
56
¥DÃD
11
ºëµØ
0
¿n¤À
115
ÂI¦W
0
§@·~¨t²Î
windows
³nÅ骩¥»
windows 7
¾\ŪÅv
20
©Ê§O
¨k
µù¥U®É¶¡
2013-3-13
³Ì«áµn¿ý
2023-7-13
2
#
µoªí©ó 2018-8-7 16:07
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
1#
Changbanana
±z¦n,
½Ð°Ñ¦Ò©³¤U³sµ².
http://discuz.bestdaylong.com/thread-38249-1-1.html
Excel¦p¦ó¶}±Ò¦³±K½X«OÅ@ªºAccessÀÉ®×accdbÀÉ®×
°Ñ¦Ò¸ê®Æ¡G
http://bestdaylong.com
TOP
Changbanana
µoµu®ø®§
¥[¬°¦n¤Í
Changbanana
·í«eÂ÷½u
UID
25664
©«¤l
76
¥DÃD
17
ºëµØ
0
¿n¤À
95
ª÷¿ú
95
ÂI¦W
0
§@·~¨t²Î
windowsxp
³nÅ骩¥»
office2007
¾\ŪÅv
20
©Ê§O
¤k
¦b½u®É¶¡
164 ¤p®É
µù¥U®É¶¡
2016-8-19
³Ì«áµn¿ý
2021-5-5
¤¤¾Ç¥Í
©«¤l
76
¥DÃD
17
ºëµØ
0
¿n¤À
95
ÂI¦W
0
§@·~¨t²Î
windowsxp
³nÅ骩¥»
office2007
¾\ŪÅv
20
©Ê§O
¤k
µù¥U®É¶¡
2016-8-19
³Ì«áµn¿ý
2021-5-5
3
#
µoªí©ó 2018-8-8 13:28
|
¥u¬Ý¸Ó§@ªÌ
¦^´_
2#
imingho
ÁÂÁ±z
¨Ï¥Î³o¤èªk¦³¦¨¥\¸Ñ¨M°ÝÃD¤F!!
TOP
ÀR«ä¦Û¦b :
¯u¥¿ªº·R¤ß¡A¬O·ÓÅU¦n¦Û¤vªº³oÁû¤ß¡C
ªð¦^¦Cªí
¤U¤@¥DÃD
¤W¤@¥DÃD
EXCEL±MÄÝ°Q½×°Ï
Excel£¸¯ë°Ï
Excelµ{¦¡°Ï
¶i¶¥À³¥Î±M°Ï
OFFICE ¨t¦C
Word
PowerPoint
Access
Office¤£¤À°Ï
µ{¦¡»y¨¥
VB »P VB.Net
C »P C#
Java »P J#
µ{¦¡³]p¤£¤À°Ï
¸ê®Æ®w
ORACLE
My SQL
MS SQL
ºô¶³]p
ASP »P ASP.NET
PHP
PHP+MySQL ¤Jªù¹ê§@
JavaScript
FLASH / ActionScript
HTM/ HTML/ CSS
ºô¶³]p¤£¤À°Ï
¹q¸£»P§@·~¨t²Î
¹q¸£¦UºØµwÅé°Q½×
¤@¯ë¹q¸£³nÅé°Q½×
½×¾Â¨Æ°È
ºÞ²z¤½§i
§ë¶D¤Ï¬M
·s¤â´ú¸Õ
·R ¡E ¥Í¬¡
¤½¯q§G§iÄæ
¥Í¬¡»P·P°Ê
[¦¬Âæ¹¥DÃD]
[Ãöª`¦¹¥DÃDªº·s¦^´_]
[³q¹L QQ¡BMSN ¤À¨Éµ¹ªB¤Í]
¥Ó½Ð¤Í±¡Ãì±µ
Facebook¯»µ·