Convert formulas to values in last used row

Panoos64

Well-known Member
Joined
Mar 1, 2014
Messages
882
Hi to all of you!
I would much appreciated if you could provide me support so that a VBA code to convert the formulas to values in columns from "A" till "G"
Thank you all in advance
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Something like this?
VBA Code:
Sub To_Vals()
  With Intersect(ActiveSheet.UsedRange, Columns("A:G"))
    .Value = .Value
  End With
End Sub
 
Upvote 0
Solution
Something like this?
VBA Code:
Sub To_Vals()
  With Intersect(ActiveSheet.UsedRange, Columns("A:G"))
    .Value = .Value
  End With
End Sub
Thank you Peter! Is perfect work. Its prepare my data according to my requirement. Thank you for your time spend for my project. Have a great day!
 
Upvote 0
@Panoos64 In future please mark the post that contains the solution, not your post saying it works. I have changed it this time.
Thanks
 
Upvote 0
Thank you for this note Fluff! Really i didn't know and i was thinking that ticking the answer was ok. I express my apologies.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,958
Members
449,096
Latest member
Anshu121

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