Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can anyone tell me the proper code to copy a range...

Can anyone tell me the proper code to copy a range in one worksheet to the
first available empty row in another worksheet? Thanks!

CB


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Can anyone tell me the proper code to copy a range...

dim s as worksheet
set s=thisworkbook.sheets("othersheet")

thisworkbook.Range("A2:M2").copy _
s.cells(s.rows.count,1).end(xlup).offset(1,0)


--
Tim Williams
Palo Alto, CA


"Steel Works, Inc." wrote in message ...
Can anyone tell me the proper code to copy a range in one worksheet to the
first available empty row in another worksheet? Thanks!

CB




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
code to copy range smith82 Excel Worksheet Functions 1 May 2nd 10 02:27 PM
Proper code JimMay Excel Programming 10 June 5th 06 04:46 AM
Code to copy formula to variable range Snowsride Excel Programming 4 November 3rd 05 09:41 PM
VBA Proper Case Code EMoe[_3_] Excel Programming 4 May 25th 05 08:07 PM
Code to copy range vs Copy Entire Worksheet - can't figure it out Mike Taylor Excel Programming 1 April 15th 04 08:34 PM


All times are GMT +1. The time now is 02:18 AM.

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

About Us

"It's about Microsoft Excel"