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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Sektor

Well-known Member
Joined
May 6, 2011
Messages
2,874
Office Version
  1. 365
Platform
  1. Windows
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

geranuno

New Member
Joined
Apr 29, 2015
Messages
7
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,196,021
Messages
6,012,906
Members
441,740
Latest member
Latrs

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
Top