Private?Sub?Command1_Click()
Dim?me100#,?me50%,?me20%,?me10%,?me5%,?me2%,?me1%,?je#,?x!
je?=?Text1
x?=?0
me100?=?je?\?100
je?=?je?-?me100?*?100
me50?=?je?\?50
je?=?je?-?me50?*?50
me20?=?je?\?20
je?=?je?-?me20?*?20
me10?=?je?\?10
je?=?je?-?me10?*?10
me5?=?je?\?5
je?=?je?-?me5?*?5
me2?=?je?\?2
me1?=?je
Text2?=?me100
Text3?=?me50
Text4?=?me20
Text5?=?me10
Text6?=?me5Text7?=?me2
Text8?=?me1 x?=?Val(Text2)?+?Val(Text3)?+?Val(Text4)?+?Val(Text5)?+?Val(Text6)?+?Val(Text7)?+?Val(Text8) Text9?=?xEnd?Sub