View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
kkknie[_139_] kkknie[_139_] is offline
external usenet poster
 
Posts: 1
Default Pasting column after end of spreadsheet.

That's because you are pasting the entire column. Change from:

Columns("A:A").Copy

To:

Range("A1:A" & Range("A65536").End(xlUp).Row).Copy

Note that it will still have to fit in the number of remaining rows...

K


---
Message posted from http://www.ExcelForum.com/