Hi all!
I have a few textboxes which get their values (numbers with decimals using commas) from an excel table. Now I want to do calculations with these numbers, e.g "1 - textbox1.value" with 0,8 being the textbox's value from the Excel sheet. Note: The textbox displays "0.8" though, if that matters.
Then, instead of displaying "0,2" (or "0.2" for that matter), I get "-7". How can I change that? VBA somehow transforms "0,8" to "0.8" to "8".
When adding the data to the Excel sheet I always use CDbl().
And I tried the following code:
Thank you!!Please Login or Register to view this content.
Bookmarks