Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
PhilM
 
Posts: n/a
Default Userform textbox number formats

Hi

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

  #2   Report Post  
Posted to microsoft.public.excel.misc
Harald Staff
 
Posts: n/a
Default Userform textbox number formats

Hi

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

HTH. Best wishes Harald

"PhilM" skrev i melding
oups.com...
Hi

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



  #3   Report Post  
Posted to microsoft.public.excel.misc
PhilM
 
Posts: n/a
Default Userform textbox number formats


Harald Staff wrote:
Hi

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

HTH. Best wishes Harald

"PhilM" skrev i melding
oups.com...
Hi

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


Spot on, thanks Harals

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
number of userdefined formats nist Setting up and Configuration of Excel 0 March 2nd 06 03:27 PM
Custom Number Formats Mary Ann Excel Discussion (Misc queries) 8 July 11th 05 07:56 PM
How do I do conditional formatting on number formats not patterns. dave55 Excel Discussion (Misc queries) 2 March 22nd 05 02:21 AM
Conditional Number Formats AMcCormick Excel Discussion (Misc queries) 1 January 30th 05 11:47 PM
number formats that allow you to format the appearance of negativ. jassmon Charts and Charting in Excel 1 January 15th 05 09:04 AM


All times are GMT +1. The time now is 08:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"