Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Format TextBox in UserForm

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vgarrow@carletonls.com - 21 Jul 2006 21:03 GMT
Hello

I have a userform which contains textboxes with calculations.  For
example, I have a statement that requires the user to input data to be
used to calculate inventory turns.  Once the data is entered, a formula
will calculate the number of inventory turns and will display in a
separate textbox.  Is there a way to format the textbox so the formula
is in "comma" style?  Currently, the calculation returns 5 or 6 places
to the left of the decimal.  Is there a better control other than a
"textbox" to perform this calculation or is there a way to format the
textbox to show only 2 places after the decimal?

Thank you

V
Dave Peterson - 21 Jul 2006 21:08 GMT
Me.textbox1.value = format(yourformula,"#,##0.00")

for example.

> Hello
>
[quoted text clipped - 11 lines]
>
> V

Signature

Dave Peterson

vgarrow@carletonls.com - 21 Jul 2006 21:17 GMT
> Me.textbox1.value = format(yourformula,"#,##0.00")
>
[quoted text clipped - 15 lines]
> >
> > V

Thank you!!!!

V

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.