variable row...

  • Thread starter Thread starter John
  • Start date Start date
J

John

Copy down list to variable row?
Range("A3").Select
Selection.End(xlDown).Select
Row = ActiveCell.Row

Range("m4:w4").Select
Selection.AutoFill Destination:=Range("m4:E" & Row)
Range("m4:E" & Row).Select

should be simple :)
 
If you are cxopying columns M:W, then the destination should be M:W, not
M:E.

Also using Row as a variable name is not a good idea, it is a VBA property.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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