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
 

Some videos you may like

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

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
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,240
Messages
5,510,006
Members
408,771
Latest member
Sigmawolf101

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top