Userform textbox number formats

  • Thread starter Thread starter PhilM
  • Start date Start date
P

PhilM

Hi

I need to set the number format of a textbox (in a userform) to show a
percentage. How do go about this?
 
Hi

Dim D As Double
D = 418 / 1300
TextBox1.Text = Format$(D, "0.0%")

HTH. Best wishes Harald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top