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: 1
Default MS Query Limit results

I have a query in an Excel worksheet. I am unable to limit the returned data. The query currently returns 25 records. I only want 20. I am able to sort the records in the query, and even limit the data returned on the edit query page, by using the 'options' menu and limiting the recurods returned to 20, but when I return the data to Excel, the query returns the full set of data to the spreadsheet. I have VB code that is looking in specific cells for the data returned, so i can't just have the query insert cells. The query is set to overwrite existing data and clear unused cells. I would change the Code but It would take several days as the code is several thousand lines, and I didn't write it. It is undocumented, and not very well written. It would be much faster to be able to limit the return of data from the Query.
 
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
How do I limit formula results to positive only? mathjegna Excel Worksheet Functions 4 May 11th 10 06:08 PM
limit records in query dsharbaugh Excel Discussion (Misc queries) 2 January 16th 08 07:53 AM
Applying functions to web query results ExcelTina Excel Discussion (Misc queries) 0 November 29th 06 10:36 PM
Web Query Sleep for until results come Sunil_Modi Excel Worksheet Functions 0 November 19th 04 04:29 PM
Query Results Michael Burkett Excel Programming 1 November 11th 03 07:46 PM


All times are GMT +1. The time now is 06:47 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"