Excel Freezing when Pasting data consecutively

KDavidP1987

Board Regular
Joined
Mar 6, 2018
Messages
51
Greetings,

Context:


I have three tables (formatted as tables) with the same data going into them. Each table has different formulas for calculating different things. Duplicates from each table are removed differently, to accommodate different reports, which is why there are three (in case you were curious).


The data in them comes from a ticketing system that generates a csv file of the raw data (3K - 17K rows, depending on timeframe specified [monthly/weekly]).


When I go to copy and paste the data (unformatted, of course) into these three tables Excel freezes on the second and third table for about 5 min just to complete the paste action. The first data paste (tested with 17K rows data set) goes in within matter of seconds (like, 3 - 5). But consecutive pastes into the other tables freeze excel for minutes.

It doesn't matter what order I paste in (to which table)! The first paste is quickly entered, and the next two each freeze the program for significant time.

Question


Is there any way to speed this up? :confused:
 

KDavidP1987

Board Regular
Joined
Mar 6, 2018
Messages
51
It does so when pasted manually AND when pasted from VBA (with screen updating disabled)! There are formulas on each page that update. What gets me though, the first paste goes in super fast (seconds), no matter which page I choose to do first. It's always the second and third pastes that suddenly freeze Excel for 5 minutes
 

mole999

Moderator
Joined
Oct 23, 2004
Messages
9,899
2nd and third will force the first to update again (I would suggest)
 

KDavidP1987

Board Regular
Joined
Mar 6, 2018
Messages
51
2nd and third will force the first to update again (I would suggest)
I appreciate you following up, but I'm sorry I don't understand... Is this an explanation or solution you posted? Is there a way to paste the data consecutively without it freezing for so long on the second and third paste?
 

mole999

Moderator
Joined
Oct 23, 2004
Messages
9,899
done from VBA, or even the menu bar turn off calculation, until all pasted, then turn it back on and calculate. (If its the cause)
 

KDavidP1987

Board Regular
Joined
Mar 6, 2018
Messages
51
Thank you for the follow-up. Mole999! I am going to try that and see how well it works. I found the scripts necessary for turning off calculations on another site.

I'll just have to figure out the scripts necessary to fill down and calculate the formulas on those formatted tables afterwards.

You sir, are a gentleman and a scholar!

Sincerely,
Kris
 

Forum statistics

Threads
1,081,981
Messages
5,362,535
Members
400,679
Latest member
alecalec202

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top