#1   Report Post  
Greta
 
Posts: n/a
Default Macro

I have created a macro where I copy a selected row in one sheet and paste the
row in an other sheet. My problem is to paste the rows below each other and
not in the same row over again. Is there a command who tells [range("A2" or
next empty below)] or something similar?
If anyone understands my confusing question and has an answer for this I
would be very greatful.

  #2   Report Post  
 
Posts: n/a
Default

hi,
After the select sheet command add this
from the top...
range("a1").end(xldown).offsest(1,0)
but you have to have a solid column of data in column A
and more that 1 row of data. otherwide you will get an
error
or from the bottom
Range(A65000).end(xlup).offset(1,0)

-----Original Message-----
I have created a macro where I copy a selected row in one

sheet and paste the
row in an other sheet. My problem is to paste the rows

below each other and
not in the same row over again. Is there a command who

tells [range("A2" or
next empty below)] or something similar?
If anyone understands my confusing question and has an

answer for this I
would be very greatful.

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Record Macro Relative does not work? lbbss Excel Discussion (Misc queries) 3 December 13th 04 08:43 PM
Record Macro Relative does not work? lbbss Excel Discussion (Misc queries) 1 December 13th 04 07:55 PM
excel macro inconsistency JM Excel Discussion (Misc queries) 2 December 9th 04 01:13 AM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 04:46 PM
Macro help Jeff Garrett Excel Discussion (Misc queries) 11 December 1st 04 08:47 PM


All times are GMT +1. The time now is 04:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"