Macro takes lot of time to retrieve data

47 Views Asked by At

I am creating a macro to preocess salary arrears. But it is getting more time to retrive deta.

There are many deta in my Deta sheet (60,0000 Rows with Deta) and i used index match function like below to det deta in to few variables. Then calculations depends on variable (My Code Attached here with).

OT = Evaluate("INDEX('" & ws2.Name & "'!G:G, MATCH(C4&""-""&A" & startRow + i & "-DAY(A" & startRow + i & ")+1,'" & ws2.Name & "'!C:C&""-""&'" & ws2.Name & "'!B:B, 0))")

I tried to find a better answer but not yet. I am looking forward to your kind guidance to resolve this issue (even by modifying my code).

0

There are 0 best solutions below