excel - Copy/paste 1 column, dynamic range, into separate worksheet -


i'm looking copy dynamically changing range of values column e, starting @ row 6, , paste worksheet (starting @ column g row 15). numbers can pasted values.

essentially, copy function stop when row becomes blank.

pretty newbie vba have done messing around it.

thanks!

welcome stackoverflow :)

range("e6", range("e" & activesheet.rows.count).end(xlup)).copy range("g" & activesheet.rows.count).end(xlup).offset(1, 0).pastespecial 

looks confusing means:

range of e6 bottom of row ctrl+up arrow

copy

bottom of row g ctrl+up arrow down 1 next blank

paste

in future if want make sure show enough detail prove have had go , not wanting written you, comment above on about.

good luck


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -