Formatting a TextBox from Currency to Number

Hrant

New Member
Joined
Feb 3, 2016
Messages
2
Hi,

This is my first thread post, I've looking for a solution for what I'm going to ask, for the past couple of days and can't find any so I figured I should post it hoping that I get some help..

What I'm doing: I created a userform, it's pretty complex and runs perfect on my bosses and my computer (we both use Windows7 and Excel 2007).

What I need: however, I need this userform to run in another computer (uses Windows 8).

Problem: the VBA code runs just fine, but it doesn't format the the values in TextBox's to "Standard" numbers instead of currency.
PLEASE NOTE: that the code for formatting a TextBox general value to "Standard" number works perfect on it's own, BUT when I need to format TextBox "Currency" value to "Standard" number doesn't work...it doesn't change it back to number, instead it stays in currency format.

KNOWING THAT I DON'T GET THIS PROBLEM ON M COMPUTER OR MY BOSS'S COMPUTER.
I've checked the "Microsoft data formatting object library" and it's not missing from the references.

Can someone please explain and help on this, since I'm running out of time, I need to get it to work on this other computer.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
To Answer my own question....

I had to change the region currency settings from pound to dollar, because the formatting is in dollar, and it worked!
reasonable but weird!
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top