VBA Express Forum
>
VBA Code & Other Help
>
Excel Help
> Setting text box values to currency
PDA
View Full Version :
Setting text box values to currency
Aussiebear
06-27-2007, 05:32 AM
I've started creating a form to allow the calculation of weekly earnings. How do I format the text box value to currency?
feathers212
06-27-2007, 05:56 AM
How about an AfterUpdate event?
Private Sub TextBox1_AfterUpdate()
TextBox1 = Format(TextBox1, "$###,###.##")
End Sub
Aussiebear
06-27-2007, 06:05 AM
Thanks Heather
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.