IF row in table is complete then turn to values?

JumboCactuar

Well-known Member
Joined
Nov 16, 2016
Messages
788
Office Version
  1. 365
Platform
  1. Windows
Hi,
I probably need a for loop for this,

I have a table which has the range A1:J500 and a lot of it is formulated.

It can get slow after resizing and data increases, so I was wondering thinking I could turn formulas into values once the row is filled and no longer needs changing

Would this have any affect on resizing (autofill formulas) ?

Or anyone suggest an alternative
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
i think im close, just need to figure how to turn the rows to vals

Code:
Public Sub ToValz()Application.Calculation = xlManual
Application.ScreenUpdating = False
Dim r As Range


    For Each r In Range("G6:G5000")
        If r.Value > 0 And r.Offset(0, 1) > 0 Then
        ' how to turn current row to values? A to L
        End If
    Next


Application.Calculation = xlAutomatic
Application.ScreenUpdating = True
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,577
Messages
6,173,163
Members
452,503
Latest member
AM74

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