hi
This code works well
I want to do not appear in the equations cellsHTML Code:
hi
This code works well
I want to do not appear in the equations cellsHTML Code:
I think you want to convert the formula into value
then include the code to your macro
![]()
Range(Range("x5"), Range("x5").End(xlDown)).Select Selection.Value = Selection.Value
Really wonderful
Thank you very much
You don't need to switch off screen updating, especially as you don't return it to true. You also do not need to select the cells
![]()
Option Explicit Sub hh() Range("X5").FormulaR1C1 = _ "=SUMPRODUCT(--(R5C16:R1500C16=RC[-8]),R5C20:R1500C20)" Range("X6").FormulaR1C1 = _ "=IF(EXACT(R[-1]C[-8],RC[-8]),"""",SUMPRODUCT(--(R5C16:R1500C16=RC[-8]),R5C20:R1500C20))" Range("X6").AutoFill Destination:=Range("X6:X1500"), Type:=xlFillDefault Range("X5:X1500").Value = Range("X5:X1500").Value End Sub
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
my dear
Is it possible to work this code automatically Without pressing the button
When would you want it to run?
When you put the value in cell
Which cell? Why would that need to trigger adding all those formulas & converting to values?
You right I'm sorry and I thank you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks