fill range with formula

J

J.W. Aldridge

This is my attempt to fill a range with formula "x".
Doesn't work.
Please help.


Range("A2").Select
ActiveCell.FormulaR1C1 = "X"
Selection.AutoFill Destination:=Range("A2:K10"),
Type:=xlFillDefault
 
G

GS

J.W. Aldridge was thinking very hard :
This is my attempt to fill a range with formula "x".
Doesn't work.
Please help.


Range("A2").Select
ActiveCell.FormulaR1C1 = "X"
Selection.AutoFill Destination:=Range("A2:K10"),
Type:=xlFillDefault

Well, I don't see a formula here, just the text value "X".

Try:
Range("A2:K10") = "X"
 

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

Top