VBA To convert Formula(s) to Value(s) to track serial numbers

geranuno

New Member
Joined
Apr 29, 2015
Messages
7
Hello Everyone! I am not a developer (Just a passionate aficionado) but seriously need help :)


I am currently working on a project to track time of reworks units individually based on their serial numbers.


At this point I did the Index-Match to identify the rework unit, but when I scan another serial number, it erases my previous data.


This can be avoided if I just paste-special-values of the serial number in matter at the corresponding location (Next to the Original input number)


Here's an image for reference:




Any help using formulas or VBA will be greatly appreciated!

Thanks so much :)

GN
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
This should work:
Code:
Sub ConvertToValues()
    With Range("C4:C" & Cells(Rows.Count, "C").End(xlUp).Row)
        .Value = .Value
    End With
End Sub
 
Upvote 0
Hey! thanks so much Sektor!

The code your recommended it convert values to all the 'C' column. (And I don't want to do that)

In reality what I need is to create a loop that convert just the number we are scanning One by One ...and leave the formula when 'Units not ready'

How can I loop to search the value and replace it on next column ... but paste-values just the scanned number ....

Am I clear Sir :) ?

Thanks again for the follow-up and quick respond!

GN
 
Upvote 0

Forum statistics

Threads
1,214,793
Messages
6,121,619
Members
449,039
Latest member
Mbone Mathonsi

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