VBA - Converting Text to Number

Solved
XRay -  
 mcetools -
It's me again!
I wanted to know if there is a function that converts text into a number (more specifically into %) to store it in a cell (Excel).
Here's an example of what I'm doing:

ActiveCell.Value = UserForm3!TextBox1


But the problem is that the cell where the value is stored changes to text format!

Is there a solution?
Thanks

9 answers

  1. Profile blocked
     
    a small clarification

    my_string="9874" val(my_string)=9874


    time is not money, time is life
    65
    1. eRicos31
       
      Thank you!
      A quick search and boom, my problem is solved!
      Best regards,
      eRicos31
      0
    2. Sleepy
       
      Thank you
      0
    3. mcetools
       
      You're welcome!
      0