LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Select Union query in Excel

Hi, I have a WB that contains x number of sheets. There are multiple sheets
that that are called Open (Open1, Open2, etc) and the same for sheets that
are called Closed (we use Excel 2003, limited to 65k rows, tha is why we use
multiple sheets for open and closed transactions). Each sheet has a SecurID
column that is supposed to be unique. I need to run a query that will check
for duplicate SecurID's and give me the ID and # of duplicates. Its a select
union query between Open and Closed. IMPORTANT, the query need to run on the
curent workbook that is in memory and not a saved version of the file on the
network. Also, what type of a ADO connction string would I use to connect to
the current open WB.

Thanks,
Mike

 
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
Import New Database Query (Union Query) in Spreadsheet klock Excel Discussion (Misc queries) 2 September 24th 09 01:30 AM
Importing Union Query Nightshade Excel Discussion (Misc queries) 1 September 28th 07 05:54 PM
Bringing in a Union Query with excel? S Davis Excel Worksheet Functions 3 August 24th 06 06:52 PM
How do I select on a SQL Datetime field in Excel Query? Smorgan Excel Programming 1 October 15th 04 03:25 AM
Union Query from Access Bill[_17_] Excel Programming 0 September 13th 03 03:32 PM


All times are GMT +1. The time now is 02:25 AM.

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"