• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Can i find a particular formula and paste its values

Mohandas

Member
I Have a format which gets data by vlookup formula after getting the formula i need to get data copied and pasted with values in the same place, But that format also contains other formula which has to be as formulas. As solution for this

Regards


Mohandas
 
Hi,

If you have a formula in "A1" and want to "convert" it to a value, you can simply copy and paste as values in the same place.

With code it could be something like:
Code:
Range("A1").Value=Range("A1").Value

I would suggest you upload a sample excel file if you need further assistance.

I hope this helps.
 
I Have a format which gets data by vlookup formula after getting the formula i need to get data copied and pasted with values in the same place, But that format also contains other formula which has to be as formulas. As solution for this

Regards


Mohandas
Hi,

If you have a formula in "A1" and want to "convert" it to a value, you can simply copy and paste as values in the same place.

With code it could be something like:
Code:
Range("A1").Value=Range("A1").Value

I would suggest you upload a sample excel file if you need further assistance.

I hope this helps.


All INV columns containss formula it needs to be pasted as value
 

Attachments

  • Book1.xlsb
    1,018.1 KB · Views: 7
Hi,

Try the following making sure "CASES" sheet is active before running the code:
Code:
Sub PasteasValues()

    Dim c As Integer
   
    For c = 7 To 77 Step 4
        Range(Cells(11, c), Cells(1161, c)).Value = Range(Cells(11, c), Cells(1161, c)).Value
    Next c

End Sub

I hope this is what you were looking for.
 
Back
Top