Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Excel Question



I am trying to pull information from specific cells on an excel
spreadsheet A to excel spreadsheet B. The problem I am facing is that
excel spreadsheet A has multiple tabs (about a hundred with all data in
exactly the same location on each tab) and cannot figure out a way to
pull the information using a macro onto 1 tab on excel spreasheet B.

Does anyone know what I can do?

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Question

Dim sh as Worksheet, rng as Range
for each sh in workbooks("spreadsheetA.xls")
With workbooks("speadsheetb.xls").Worksheets(1)
set rng = .cells(rows.count,1).End(xlup)(2)
end with
sh.Range("A1").CurrentRegion.Copy _
Destination:=rng
End With
Next

--
Regards,
Tom Ogilvy

"Oli Oshiz" wrote in message
...


I am trying to pull information from specific cells on an excel
spreadsheet A to excel spreadsheet B. The problem I am facing is that
excel spreadsheet A has multiple tabs (about a hundred with all data in
exactly the same location on each tab) and cannot figure out a way to
pull the information using a macro onto 1 tab on excel spreasheet B.

Does anyone know what I can do?

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
Excel 2003 to Excel 2007 Question Mr. Panasonic Excel Worksheet Functions 0 December 15th 08 06:16 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM
Excel 2000 versus Excel 2002 question Carla[_4_] Excel Programming 1 July 22nd 04 06:54 PM


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