+ Reply to Thread
Results 1 to 4 of 4

Split access table or querry in several excell sheet

  1. #1
    Registered User
    Join Date
    05-04-2010
    Location
    Higuey, Dominican Republic
    MS-Off Ver
    Excel 2011
    Posts
    24

    Split access table or querry in several excell sheet

    Hello all,

    I am having a querry/Table in access with 131000 lines, which obviously is too much for excel and for what I need, I would like a process which can cut it every 5000 or 4000 lines (if I can choose the amout better) the access doc and divide it in differents excel sheets.

    Does anyone have any application or process to run in access?

    Thanks

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Split access table or querry in several excell sheet

    Add an autonumber field to your table. Create a query and in the autonumber field, specify the records that you want in the criteria, ie. Between 1 and 5000. Export the file to Excel. Now open the query and change the criteria to "Between 5001 and 10000, repeat this until all your records have been exported.

    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-04-2010
    Location
    Higuey, Dominican Republic
    MS-Off Ver
    Excel 2011
    Posts
    24

    Re: Split access table or querry in several excell sheet

    Quote Originally Posted by alansidman View Post
    Add an autonumber field to your table. Create a query and in the autonumber field, specify the records that you want in the criteria, ie. Between 1 and 5000. Export the file to Excel. Now open the query and change the criteria to "Between 5001 and 10000, repeat this until all your records have been exported.

    Alan
    Thanks for the reply, can you explain more how to achive this? I am a bit lost, how to add an autonumber, is it in design view?

    Thanks

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Split access table or querry in several excell sheet

    In your table design add a field. In the type of field put autonumber. This will work only if you do not already have an autonumber in your table already. Close the design. Open the table or query and your new field will be sequentially numbered 1-up.

    Alan

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1