ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? (https://www.excelbanter.com/excel-discussion-misc-queries/57609-re-anyone-else-use-database-query-query-another-sheet-same-excel-workbook.html)

jocke

Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook?
 

wes i have tried that before. linking to excelsheet with a query, but i
have never succeded to "read" from the same workbook, only reading in
closed workbooks.

tell me how did you do to set a query to the same workbook.

/jocke


--
jocke
------------------------------------------------------------------------
jocke's Profile: http://www.excelforum.com/member.php...nfo&userid=766
View this thread: http://www.excelforum.com/showthread...hreadid=488758


Ron Coderre

Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook?
 

First, set up your data tables and assigned range names to them.
Save the workbook before you try to set up the query against it.

(You don't need to close the workbook)
Set up the query in the current workbook referenceing the tables in

the same workbook. Note: You will need to point to the network location
of the saved file, but Excel will use the data in the open version.

That's about it.

Does that help?
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=488758



All times are GMT +1. The time now is 01:32 AM.

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