+ Reply to Thread
Results 1 to 3 of 3

VBA code to send data to different sheets slow refresh

  1. #1
    Registered User
    Join Date
    01-13-2010
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    17

    VBA code to send data to different sheets slow refresh

    Hello, I received help with attached workbook from a forum member. The workbook has several sheets. The first sheet (All Students) has a table / range of student information. There are several other sheets one for each teacher, that would contain the student information from first sheet (All Students) for that teacher. Teacher name is in the last column on the first sheet(All Students). Data will be entered into first sheet by teachers. When I click on teacher tabs excel gets data from All Students tab / sheet and populates teacher sheet with data for that teacher based on teacher column in All Students. The workbook performs the required task. The only problem is performance, it runs slow. It can take several seconds to refresh with small table. Can someone help me code a faster refresh method?

    Thanks for any help.
    covershaker
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VBA code to send data to different sheets slow refresh

    Must be something with your system. On my 6 year old laptop, each sheet updates in less than 1 second. Could be anything.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VBA code to send data to different sheets slow refresh

    Here's a mild update of your Workbook_SheetActivate() macro, it will not make any changes to the merged cell at the top, perhaps this will do better on your system. They perform the same on mine, less than a second.
    Please Login or Register  to view this content.

+ 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