Run-time error '-2147352571 (80020005)':

McLaren

Board Regular
Joined
Jul 12, 2003
Messages
122
Could not set the Value property. Type mismatch

Sorry for all of the questions, but I'm trying to get this buttoned up since I am soo close. If my userform has no information on it I can change TextBox1 all I want, but as soon as I put something in other textboxes and then try to use a decimal point in TextBox1 I get this error. The only way I can change TextBox1 without everything freaking out is to take the number that is already in there (.06) and adding numbers in without making it a zero value. All of my code is here http://www.mrexcel.com/board2/viewtopic.php?t=77849
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

McLaren

Board Regular
Joined
Jul 12, 2003
Messages
122
So I guess if you put a decimal place into TextBox1, E2 would become 0. which would make I20 -.0001? Would a negative cause it to freak out?
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,565
Messages
5,765,140
Members
425,263
Latest member
alcat

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
Top