Fixing broken numbers with VBA

Playnine9

New Member
Joined
May 27, 2008
Messages
2
Hi,

I've searched the forums and found this place to be really helpful many times, but I finally have a question that I can't find the answer to.

I have an automated CNC measuring table that checks the thickness of a piece of wood at various points along the piece.

Sometimes, my measuring device screws up and enters two values into one cell as such:

7.25 % good
7.45 % good
7.527.21 % ERROR

My question is: is there a quick way to take the error and split that number up into two parts (7.52 and 7.21), and put the 7.21 in the next line dynamically while measuring?

I can probably work figure out a lengthy workaround for this, but I was wondering if anyone had a quick, simple alternative to the former.

Thank you in advance,
-Drew
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Playnine9

New Member
Joined
May 27, 2008
Messages
2
nevermind, i am just going to determine the length then cut anything past the first 4 digits
 

Forum statistics

Threads
1,136,352
Messages
5,675,274
Members
419,559
Latest member
BraytonM

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