Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default 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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel database query referencing data in the same workbook kpiq Excel Discussion (Misc queries) 1 September 3rd 08 08:43 PM
saving and refreshing workbook linked to a SQL database Texas Tonie[_2_] Excel Discussion (Misc queries) 0 November 9th 07 11:03 PM
Creating an Excel Database in Separate Workbook Brian C Excel Programming 17 February 16th 06 10:17 PM
VLOOKUP in another workbook/Access database Chris Carr Excel Programming 4 August 3rd 05 06:14 PM
Formatting a workbook for database import tehwa Excel Programming 4 December 24th 03 08:16 AM


All times are GMT +1. The time now is 09:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"