Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Selecting and pasting to an empty cell

Dear Great Minds of Excel,

I'm trying to write a macro for exel to copy a row in one workshee
then paste it in another worksheet but in an empty cell right below th
previous paste.

For example:

Worksheet 1

1 2 3 4 <---Copy

worksheet 2

0 0 0 1
1 2 3 4 <--- Then paste below 0 0 0 1

I think I would use active offset but it is not working. Can anyon
help? Thank

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Selecting and pasting to an empty cell

One way:

Activecell.EntireRow.Copy Destination:=Sheets("Sheet2").Range( _
"A" & Rows.Count).End(xlUp).Offset(1, 0)


In article ,
Craig from MI wrote:

Dear Great Minds of Excel,

I'm trying to write a macro for exel to copy a row in one worksheet
then paste it in another worksheet but in an empty cell right below the
previous paste.

For example:

Worksheet 1

1 2 3 4 <---Copy

worksheet 2

0 0 0 1
1 2 3 4 <--- Then paste below 0 0 0 1

I think I would use active offset but it is not working. Can anyone
help? Thanks


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

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
Selecting occupied cell over empty ones Rich Excel Discussion (Misc queries) 0 March 28th 07 02:53 AM
Selecting occupied cell over empty ones Teethless mama Excel Discussion (Misc queries) 1 March 28th 07 02:13 AM
Selecting occupied cell over empty ones Rich Excel Discussion (Misc queries) 0 March 28th 07 12:05 AM
selecting next empty cell ASU Excel Discussion (Misc queries) 9 September 18th 06 02:36 PM
Pasting data top 1st empty cell in range wfcmark Excel Discussion (Misc queries) 4 December 8th 05 10:46 AM


All times are GMT +1. The time now is 04:07 AM.

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"