mas ada pertanyaan, ni mengenai multipage, misal saya punya userform1 dan userform2, pada userform1 ada multipage dan pada userform2 ada frame input data kemudian userform1 adalah sebagai tempat tampil data dari userform2 tadi, terima kasih atas jawabannya,salam
OK, you have to use a connection to the Ecces database, here is an example of the connection: Public SQL As String Public cn As ADODB.Connection Public rs As ADODB.Recordset Public rss As ADODB.Recordset Sub Connect() Set cn = New ADODB.Connection Set rs = New ADODB.Recordset With cn .Provider="Microsoft.ACE.OLEDB.12.0" .ConnectionString = "Data Source = " & ThisWorkbook.Path & "\FolderName\DatabaseName.accdb" .Open cn EndWith End Sub Sub Disconnect() Set cn = Nothing Set rs = Nothing End Sub
@@bukittutorial7799You don’t understand me , in your video you created list view with column buttons i know but you used excel sheet as database i want this form in excel populate from access database Not how I connect excel with access
How to populate userform from access database same way
mas ada pertanyaan, ni
mengenai multipage, misal
saya punya userform1 dan userform2, pada userform1 ada multipage dan pada userform2 ada frame input data kemudian userform1 adalah sebagai tempat tampil data dari userform2 tadi, terima kasih atas jawabannya,salam
maksutnya kayak ini kah bang :
th-cam.com/video/BzKDLJs4VOg/w-d-xo.html
@@bukittutorial7799 Alhamdulillah ya, benar mas,... terima kasih atas jawabannya, nanti saya coba,...maaf agak telat buka email
Hi bro i asked you before how can i do this from access database not excel sheet
OK, you have to use a connection to the Ecces database, here is an example of the connection:
Public SQL As String
Public cn As ADODB.Connection
Public rs As ADODB.Recordset
Public rss As ADODB.Recordset
Sub Connect()
Set cn = New ADODB.Connection
Set rs = New ADODB.Recordset
With cn
.Provider="Microsoft.ACE.OLEDB.12.0"
.ConnectionString = "Data Source = " & ThisWorkbook.Path & "\FolderName\DatabaseName.accdb"
.Open cn
EndWith
End Sub
Sub Disconnect()
Set cn = Nothing
Set rs = Nothing
End Sub
@@bukittutorial7799You don’t understand me , in your video you created list view with column buttons i know but you used excel sheet as database i want this form in excel populate from access database Not how I connect excel with access
Klw boleh minta no hpnya bang hehehe
kok , file nya gak mau di run ya bos
kalo ndak bisa langsung di run ...filenya cobak di save as lagi dulu dikasih nama baru biasanya gitu disettingannya macro nya kang