Hi,
Thanx very much, who have helped me for the solution of this thread. I would like to share this with u all, which follows.......
Private Sub Command0_Click()
Dim strPATH As String
Dim strMDB As String
Dim strTBL As String
Dim qryAPP As String
strPATH = Left$(CurrentDb.Name, InStr(CurrentDb.Name, Dir(CurrentDb.Name, vbDirectory)) - 1)
strMDB = strPATH & lstCOUNTRY.Value 'this value is selected from list object
'MsgBox strMDB
Dim dbs As Database
Dim rs As Recordset
Set dbs = CurrentDb
Set rs = dbs.OpenRecordset("Codesheet"

'table name to import
rs.MoveFirst
While Not rs.EOF()
strTBL = rs.Fields(0).Value
qryAPP = "insert into " & strTBL & " select * from " & strTBL
qryAPP = qryAPP & " in " & strMDB
'DoCmd.SetWarnings False
MsgBox qryAPP
DoCmd.RunSQL qryAPP
rs.MoveNext
Wend
End Sub
I am further developing to have to table and store the book mark after importing, which will help later to start from that point to import/refresh again. I will share the same very soon
Thanx very much once again.
Shyam Shyam
cwizshyam@yahoo.com