+ Reply to Thread
Results 1 to 6 of 6

Excel Database slows down as number of entries rises

  1. #1
    Registered User
    Join Date
    09-02-2019
    Location
    Paris
    MS-Off Ver
    Mac Excel version 16.25
    Posts
    14

    Excel Database slows down as number of entries rises

    Hi Everyone,

    I am now building an Excel Database and I use Excel VBA to help (Entry form....etc.)

    I have now approximately 200 entries in my database. And I can notice that it starts to slow down, as I enter an new entry, or when I scroll through the database.

    Would you have any idea how to resolve this issue? Would it be caused by the VBA code? ( in that case I should try simplifying the code), or is it simple the Excel sheet storing too much data?

    Thanks in advance.

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Excel Database slows down as number of entries rises

    200 records is not that much.. when you consider that excel has one miljon rows..
    So it is very likely it is the vba code. But what it is is very hard to guess without seeing the code..

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Excel Database slows down as number of entries rises

    When you say "Excel Database", are you referring to a two dimensional data table on a single worksheet?

    If so, how many records do you anticipate your database holding?

    200 is not many records and shouldn't be slow to work with.



    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    09-02-2019
    Location
    Paris
    MS-Off Ver
    Mac Excel version 16.25
    Posts
    14

    Re: Excel Database slows down as number of entries rises

    Thank you so much for your reply guys.

    So here are the Before and After attached database files.
    The data is partly in French. Basically, there are two sheets: "Saisie" for data entry, and "Base" for the database

    Entering the data in the sheet "Saisie" and then the data stores in the sheet "Base".

    There is a window of "Last Entries" in the sheet "Saisie" in order to monitor the entry progress without going into the "Base" sheet all the time.

    Currently, there are only around 140 entries in the sheet, and you could tell that without all the data in "Base" in the Before file, it's much quicker to scroll through than in the After file.

    This may be due to the fact that I store a lot of texts in a column F in "Base", texts that we can display by clicking on the cells.

    The VBA module "AddData2" (associated to the button "Add Data" in "Saisie" is also slowing down over time, as the number of data rises. But I guess it is quite long and some parts may be able to be simplified.

    Thank you SOOOOO much guys for your help, any suggestions will be largely appreciated.

    Thanks a lot!
    Last edited by chun25011; 09-18-2019 at 01:48 PM.

  5. #5
    Registered User
    Join Date
    09-02-2019
    Location
    Paris
    MS-Off Ver
    Mac Excel version 16.25
    Posts
    14

    Re: Excel Database slows down as number of entries rises

    And ultimately, we were estimating a total number of entries of 70 000...

    And I found a solution to avoid the table from slowing down:

    1. the code on the "Base" sheet, with the camera function and the Picture really seems to slow down the whole thing
    2. I hided the contents of the cells that are "shrink fit" (column F), and it gets back to normal again!

    Thanks a lot!
    Last edited by chun25011; 09-18-2019 at 01:47 PM.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Excel Database slows down as number of entries rises

    Glad you got it sorted

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How Do I Match Excel Entries to Online Database?
    By omaral in forum Excel General
    Replies: 6
    Last Post: 12-28-2016, 03:37 AM
  2. Replies: 2
    Last Post: 10-22-2014, 11:32 PM
  3. Run-time error '1004' with vba for sequential auto-number for database entries
    By Orestees in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-20-2012, 10:50 AM
  4. Split Form Slows Database
    By split_atom18 in forum Access Programming / VBA / Macros
    Replies: 6
    Last Post: 07-29-2010, 12:29 PM
  5. [SOLVED] automate entries into document from a excel database
    By Designer Lady in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-23-2006, 05:45 PM
  6. Replies: 1
    Last Post: 12-01-2005, 09:10 PM
  7. Replies: 4
    Last Post: 04-02-2005, 12:06 AM

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