excel - Paste without hitting enter -


i'm trying paste data (the .entirerow.select) new sheet ("win") without having hit enter when choosing paste data. want data pasted starting in column a, row 1 below last row entered data (lastrow defined earlier in code). advice? thanks.

    if archive = "win"         .entirerow.select          application.cutcopymode = false          selection.cut             sheets("win").select             range("a" & lastrow + 1).select          activesheet.paste 

i cleaned code little:

if archive = "win"     entirerow.cut         sheets("win").range("a" & lastrow + 1).paste 

where running issues?


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -