Copy formula relative to left cell?

J

JayL

All -
I have a fomula in cell B2 that uses data in cell A2.
I want to copy the formula down but stop when the relative cell in column a
is blank or empty.

TIA
-Jay
 
J

JayL

Thanks - I understand the use of the fill handle. Looking for an automated
macro method.
 
T

Tom Ogilvy

Dim rng as Range
set rng = Range(cells(2,1),cells(2,1).End(xldown))
rng.offset(0,1).Formula = Cells(2,2).Formula
 

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