macro converts formula using imbeded literals

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created a macro. In the macro was a formula. When I run the formula it puts
single quotes around the cell position.

ActiveCell.FormulaR1C1 = "= (g2*(h2/100)*I2)/360"

In the Cell -- See g2-h2-I2
=('g2'*('h2'/100)*'I2')/360

What gives?

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top