SV: $$Excel-Macros$$ double variable on a formula

2009-03-04 Thread Yngve Angelskår
Hi Try 27.7 not 27,7 -Opprinnelig melding- Fra: excel-macros@googlegroups.com [mailto:excel-mac...@googlegroups.com] På vegne av Nwt Sendt: 1. mars 2009 21:13 Til: MS EXCEL AND VBA MACROS Emne: $$Excel-Macros$$ double variable on a formula Hi all, i'm trying to insert a formu

$$Excel-Macros$$ double variable on a formula

2009-03-01 Thread Nwt
Hi all, i'm trying to insert a formula by vba, the code looks like this: dbl_weight = 27,7 activecell.FormulaR1C1 = "=RC[-6]*" & dbl_weight runtime error 1004 if my dbl_weight = 27 it works my excel 2003 is in italian any suggestion? Thanks, Nwt --~--~-~--~~~---~