Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need Help Copying cells into another workbook

I would like to copy the values in a range of cells that are being
referenced from other sheets in that workbook to a different workbook
that will run pivot tables. The macro will need to use the next
available row that isn't used yet. There are 7 Columns and 23 Rows.
Could someone please help me?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Need Help Copying cells into another workbook

Dim rng as Range
set rng = Workbooks("Pivots").Worksheets("Sheet1" _
).Cells(rows.count,1).End(xlup)
activesheet.Range("A1").Resize(23,7).copy Destination:=rng

--
Regards,
Tom Ogilvy

"Andrew" wrote in message
om...
I would like to copy the values in a range of cells that are being
referenced from other sheets in that workbook to a different workbook
that will run pivot tables. The macro will need to use the next
available row that isn't used yet. There are 7 Columns and 23 Rows.
Could someone please help me?



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
Copying cells between sheets in a workbook Rick Excel Discussion (Misc queries) 2 November 21st 08 01:55 PM
Copying cells from one workbook to another Quinci Excel Worksheet Functions 0 January 25th 08 05:57 PM
Automatically copying cells to another workbook Just Askin Setting up and Configuration of Excel 1 July 13th 07 08:06 AM
Copying A Worksheet From Each Open Workbook to an new Workbook carl Excel Worksheet Functions 1 January 3rd 06 05:37 PM
copying cells to another workbook if the contain spacific words prwells Excel Programming 0 October 23rd 03 10:37 PM


All times are GMT +1. The time now is 06:50 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"