' gather info from Excel oConn = CREATEOBJECT("adodb.connection") cConnString = "provider=vfpoledb;data source=mydatabase.dbc" ' or mytable.dbf oConn.Open(cConnString) oConn.Execute("insert into mytable (field1, field2) values (cell1, cell2)") oConn.Close() oConn = nothingOf course you would have to adapt to your tables/fields and specific cells. Either all cells at once or onme record per cell, whatever applies to your sample, plus appropiate error trapping in VBA.
Open an Excel worksheet. From the Data menu, point to Import External Data, and click Import Data. In the Select Data Source dialog box, click New Source Data Connection. In the Data Connection Wizard, select Other/Advanced. In the Provider tab, select Microsoft OLE DB Provider for Visual FoxPro.HTH