Link to home
Start Free TrialLog in
Avatar of RWayneH
RWayneHFlag for United States of America

asked on

Copying a cell value down a column.

Why would this produce a 1,2,3.... down the column instead of a 01,01,01,01??  I need a value specifically of "01" but it is not copying it down?  Any ideas?  I have tried just every cell format I can find?  Can this be done without using Autofill?

    Range("J3").Select
    ActiveCell.FormulaR1C1 = "01"
'Copies the formula in J3 down column J, as long as there is a value in columnG
    Set MyRange = Range(Range("J3"), Range("J" & Range("G3").End(xlDown).Row))
    Range("J3").AutoFill Destination:=MyRange

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RWayneH

ASKER

Yup worked great.  Thanks.
Avatar of Professor J
Professor J

Rory you are very fast :-)


until i open the question, i see it is answered on the fly :-)