LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
jat jat is offline
external usenet poster
 
Posts: 33
Default Copy Active Range from one workbook to another

i need a few lines of code to determine the active rows in columns A and B
and copy from one work book to another.

i kind of understand the loop, but not a lot.

i need to select/copy the active cells in workbook one (always Columns A and
B) and paste them in the next blank row in Column A/B of workbook two.

i know that to find the next blank cell where to paste is the following:

Range("A1").Select
Do
If IsEmpty(ActiveCell) = False Then
ActiveCell.Offset(1, 0).Select
End If
Loop Until IsEmpty(ActiveCell) = True

help would be appreciated,

jatman

 
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
Copy Range from Open Workbook to Active Workbook Forgone Excel Programming 0 July 17th 09 01:46 AM
copy value from active sheet to another workbook sak New Users to Excel 2 June 19th 09 10:52 AM
VB to copy a sheet to active workbook Darin Kramer Excel Programming 4 September 11th 06 09:23 PM
copy worksheet from closed workbook to active workbook using vba mango Excel Worksheet Functions 6 December 9th 04 07:55 AM
Copy Modules from One workbook to Active Workbook Jim Gifford Excel Programming 1 November 18th 03 12:30 PM


All times are GMT +1. The time now is 01:59 PM.

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"