Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
ADODB Create New Database from Excel
Is it possible to create a new database from Excel using SQL and ADODB? I
cannot create a connection to a file that is not there. -- Adios, Clay Harryman |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
ADODB Create New Database from Excel
Found a possible solution at
http://msdn2.microsoft.com/en-us/lib...ffice.10).aspx Reading through a LOT of material right now. :) -- Adios, Clay Harryman "Clayman" wrote: Is it possible to create a new database from Excel using SQL and ADODB? I cannot create a connection to a file that is not there. -- Adios, Clay Harryman |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
ADODB Create New Database from Excel
'---------------------------------------------------------------- Sub CreateAccessDatabase(DBPath As String) '---------------------------------------------------------------- Dim oADOCat As Object Set oADOCat = CreateObject("ADOX.Catalog") oADOCat.Create "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & DBPath Set oADOCat = Nothing End Sub -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Clayman" wrote in message ... Is it possible to create a new database from Excel using SQL and ADODB? I cannot create a connection to a file that is not there. -- Adios, Clay Harryman |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Create Excel Database | Excel Discussion (Misc queries) | |||
access database (adodb)from excel vba | Excel Worksheet Functions | |||
Create database in excel? | New Users to Excel | |||
how can I create a ODBC database in excel | Excel Worksheet Functions | |||
How do I create an Excel database? | New Users to Excel |