TimvanSprang
New Member
- Joined
- Feb 23, 2014
- Messages
- 10
Hello,
If you have time to assist me with a problem I would be verry greatfull.
I created a userform that can be used to fill out an excel sheet. I
added the option to fill al the textboxes with pre-entered data using
a combobox.
So for example,
Textbox one is filled with the value of B1 when option one is selected
in the combobox.
After that the values in the textboxes are transfered to excel and
used to calculate a profit margin.
My problem arises when cell B1 is the reuslt of a formula, for example
(B2*B3/B4) = 4,890
This value is transferred to the textbox in the userform and still looks like 4,890 so
far so good.
But when I transfer the textboxvalue back to excel to use it in de
profit calculations. Suddenly the targetcell is filled with 4.890 a
point instead of a comma en thereby messing up my calculations.
I hope you have encountered this problem before and can tell my how to fix it.
Thanks a lot,
If you have time to assist me with a problem I would be verry greatfull.
I created a userform that can be used to fill out an excel sheet. I
added the option to fill al the textboxes with pre-entered data using
a combobox.
So for example,
Textbox one is filled with the value of B1 when option one is selected
in the combobox.
After that the values in the textboxes are transfered to excel and
used to calculate a profit margin.
My problem arises when cell B1 is the reuslt of a formula, for example
(B2*B3/B4) = 4,890
This value is transferred to the textbox in the userform and still looks like 4,890 so
far so good.
But when I transfer the textboxvalue back to excel to use it in de
profit calculations. Suddenly the targetcell is filled with 4.890 a
point instead of a comma en thereby messing up my calculations.
I hope you have encountered this problem before and can tell my how to fix it.
Thanks a lot,