ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to use workbook is a database? (https://www.excelbanter.com/excel-programming/373571-how-use-workbook-database.html)

CH, Leow

How to use workbook is a database?
 
How to use workbook is a database.
and each worksheet in the workbook is a data table in this manner.

So that i can use SQL statement to write.

Bob Phillips

How to use workbook is a database?
 
Just setup a range name for each table, and then use ADO and SQL against the
workbook.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

<CH; "Leow" <CH, wrote in message
...
How to use workbook is a database.
and each worksheet in the workbook is a data table in this manner.

So that i can use SQL statement to write.




Karan[_3_]

How to use workbook is a database?
 
be mindful that there is an open MS bug on this one. The workaround is
that you issue your queries against a closed workbook . If you u do it
on an open workbook then excel wouldnt release the system resource
eventually resulting in a crash on repeated use.
learnt it the hard way .

Bob Phillips wrote:
Just setup a range name for each table, and then use ADO and SQL against the
workbook.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

<CH; "Leow" <CH, wrote in message
...
How to use workbook is a database.
and each worksheet in the workbook is a data table in this manner.

So that i can use SQL statement to write.




All times are GMT +1. The time now is 08:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com