Activecell.formula combine with textbox value

Hiffny
05-23-2010, 10:02 PM
Dear all,

I would like your help in guiding me on how to add textbox value inside userform into the formula such as below.

ActiveCell.FormulaR1C1 = "=textbox1.value*4.24*1.15*RC[-21]"

However it not picking up the value.

Any suggestion.

Thanks in advance

Hiffny
05-24-2010, 10:50 PM
any gentlemen and beautifull girl whose can help me?

Hiffny
05-26-2010, 09:00 PM
any expert here?

Colin Legg
05-27-2010, 02:05 AM
Hi,

The keyword here is concatenation.

ActiveCell.FormulaR1C1 = "=" & TextBox1.Value & "*4.24*1.15*RC[-21]"


Hope that helps...

Hiffny
05-28-2010, 07:35 PM
Colin,

you are the man...
expert man.

its working.

thanks.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum