Excel slow respond

mychi11

Board Regular
Joined
May 11, 2020
Messages
95
Office Version
  1. 2016
Platform
  1. Windows
I am using an index match function in another sheet. It will not appear unless I refresh on the matching cell (A4) in this case
=IFNA(INDEX(Master!$E$2:$E$4966,MATCH('CY NO'!$A4,Master!$AL$2:$AL$4966,0)),"")
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Have you checked
File>>Options>>Formuals>>Workbook Calculation>>"check the Automatic" button
 
Upvote 0
I have to refresh the cell but going to the cell and click on the number and enter again. the cell is copied from another sheet with vba not sure if this caused the problem/
 
Upvote 0
Is the cell being copied by a custom function ??
What is the code in the macro ?
 
Upvote 0
Sub Copy()

a = Worksheets("A").Cells(Rows.Count, 1).End(xlUp).Row

For i = 2 To a

If Worksheets("A").Cells(i, 158).Value = "*" Then
Worksheets("A").Rows(i).Copy
Worksheets("Master").Activate
c = Worksheets("Master").Cells(Rows.Count, 1).End(xlUp).Row
Worksheets("Master").Cells(c + 1, 1).Select
ActiveCell.PasteSpecial Paste:=xlValues, operation:=xlPasteSpecialOperationNone
Worksheets("A").Activate

End If
Next
Application.CutCopyMode = False

ThisWorkbook.Worksheets("A").Cells(1, 1).Select


End Sub
 
Upvote 0
Try adding the Calculate line before the end of the sub
VBA Code:
Sub Copy()
a = Worksheets("A").Cells(Rows.Count, 1).End(xlUp).Row
For i = 2 To a
If Worksheets("A").Cells(i, 158).Value = "*" Then
Worksheets("A").Rows(i).Copy
Worksheets("Master").Activate
c = Worksheets("Master").Cells(Rows.Count, 1).End(xlUp).Row
Worksheets("Master").Cells(c + 1, 1).Select
ActiveCell.PasteSpecial Paste:=xlValues, operation:=xlPasteSpecialOperationNone
Worksheets("A").Activate
End If
Next
Application.CutCopyMode = False
ThisWorkbook.Worksheets("A").Cells(1, 1).Select
Calculate
End Sub
 
Upvote 0
Sorry I mean the outcome is the same. I still need to reenter the value on the matching cell.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,865
Members
449,052
Latest member
Fuddy_Duddy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top