View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
jpb jpb is offline
external usenet poster
 
Posts: 1
Default How do I limit the rows returned into Excel from a query

I am trying to return data into excel from a query. The
query was written in MsQuery and selects from an access
database. I need to limit the results of the query to
only return 30 rows into my excel spreadsheet. I can set
the limit records option in MsQuery so that it only
returns 30 rows while in MsQuery, but when I refresh the
data in excel it still retrieves all of the rows.

Any help would be appreciated.
Thanks.