Thousand separator textbox

trustpol Posted messages 36 Status Member -  
 nemeziss -
Hello,

I would like to add a thousands separator in my textbox so that it displays 152 045 rather than 152045, as it is much more readable and, above all, reduces input errors.

But I don't know how to do it.

Could you please help me?

Thank you very much

Configuration: Windows 2003 Internet Explorer 7.0

1 answer

  1. Anonymous user
     
    What language?
    --
    -- Alex at your service --

    -- Don’t forget to mark your topics as "Resolved" when you have the answer ;-) --
    0
    1. trustpol Posted messages 36 Status Member
       
      Excuse me, I had forgotten to mention it VBA

      Thank you for your help
      0
    2. nemeziss
       
      sub formatar ()
      textbox1= Format(textbox1, "# ##0")
      end sub
      -1