Macro for formulas

M

MsAmethyst

I know how to do a basic macro. But how would I tell a macro to copy a
formula to rows 11, 22, 33, and so on in a large spreadsheet?
 
F

Frank Kabel

Hi
maybe something like

sub foo()
dim i
for i = 11 to 99 step 11
cells(i,1).formulaR1C1="=R[0]C[1]*2"
next i
end sub
 

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