Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Extracting data from hyperlinked spreadsheets

I have a master spreadsheet with hyperlinks to around 2,000 other
spreadsheets. All of the hyperlinks are held in the same column. All of the
other spreadsheets are of a standard format. There are 8 cells on each of
these spreadsheets that contain data that I want to collate in the master
spreadsheet. How do I do this without resorting to manually linking to all
2,000 sheets?
--
Thanks in advance of your replies. Your help much appreciated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Extracting data from hyperlinked spreadsheets

This should help you out:
http://www.rondebruin.nl/tips.htm

Pay attention to the section titled "Copy/Paste/Merge examples".
Your explanation sounds a little confusing to me, but I know you know what
you want; you should find it in that web link above.


Regards,
Ryan---

--
RyGuy


"akfrumtarn" wrote:

I have a master spreadsheet with hyperlinks to around 2,000 other
spreadsheets. All of the hyperlinks are held in the same column. All of the
other spreadsheets are of a standard format. There are 8 cells on each of
these spreadsheets that contain data that I want to collate in the master
spreadsheet. How do I do this without resorting to manually linking to all
2,000 sheets?
--
Thanks in advance of your replies. Your help much appreciated

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Extracting data from hyperlinked spreadsheets

Thanks for the reply, the GetValue function appears to be on the right line
of attack. However, I need to define the path and file by reading each of the
hyperlinks already stored in each of the 2,000 cells of the excel column
(i.e. from cells B2 to B2000). To do this I need an excel function that I can
place in, say D2 and copy down to D2000 e.g.
=GETVALUE(B2,$J$16)
the outcome is that the function goes to the hyperlink held in B2 and goes
to the linked spreadsheet, gets the value from cell $J$16 (always the same
cell in each spreadsheet) and places the result in the master spreadsheet
cell D2. As I copy the formula down the master spreadsheet to D3, D4 etc I
get the same process repeated, but each time going to a different hyperlink
stored in B3, B4 etc.

I hope my problem is a little clearer for you to understand. Thanks again
for your help.


"ryguy7272" wrote:

This should help you out:
http://www.rondebruin.nl/tips.htm

Pay attention to the section titled "Copy/Paste/Merge examples".
Your explanation sounds a little confusing to me, but I know you know what
you want; you should find it in that web link above.


Regards,
Ryan---

--
RyGuy


"akfrumtarn" wrote:

I have a master spreadsheet with hyperlinks to around 2,000 other
spreadsheets. All of the hyperlinks are held in the same column. All of the
other spreadsheets are of a standard format. There are 8 cells on each of
these spreadsheets that contain data that I want to collate in the master
spreadsheet. How do I do this without resorting to manually linking to all
2,000 sheets?
--
Thanks in advance of your replies. Your help much appreciated

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Extracting data from hyperlinked spreadsheets

Hummm, I'm thinking this macro may work for you:

Sub ListData10()
Dim ws As Worksheet
Dim rCopy As Range
Dim rDest As Range

Set rDest = ActiveWorkbook.Worksheets("Summary").Range("B3") ' < --
This is where the macro starts
For Each ws In ActiveWorkbook.Worksheets
If ws.Name < "Summary" Then
rDest.Offset(0, -1).Value = ws.Name
With ws.Range("B39:T39") '< -- Change this to match your need
rDest.Resize(1, .Columns.Count).Value = .Value
End With
Set rDest = rDest.Offset(1, 0)
End If
Next ws
End Sub

It will take a little engineering on your part (i.e. customize for your
specific needs) but I think that will do what you need.


Regards,
Ryan--


--
RyGuy


"akfrumtarn" wrote:

Thanks for the reply, the GetValue function appears to be on the right line
of attack. However, I need to define the path and file by reading each of the
hyperlinks already stored in each of the 2,000 cells of the excel column
(i.e. from cells B2 to B2000). To do this I need an excel function that I can
place in, say D2 and copy down to D2000 e.g.
=GETVALUE(B2,$J$16)
the outcome is that the function goes to the hyperlink held in B2 and goes
to the linked spreadsheet, gets the value from cell $J$16 (always the same
cell in each spreadsheet) and places the result in the master spreadsheet
cell D2. As I copy the formula down the master spreadsheet to D3, D4 etc I
get the same process repeated, but each time going to a different hyperlink
stored in B3, B4 etc.

I hope my problem is a little clearer for you to understand. Thanks again
for your help.


"ryguy7272" wrote:

This should help you out:
http://www.rondebruin.nl/tips.htm

Pay attention to the section titled "Copy/Paste/Merge examples".
Your explanation sounds a little confusing to me, but I know you know what
you want; you should find it in that web link above.


Regards,
Ryan---

--
RyGuy


"akfrumtarn" wrote:

I have a master spreadsheet with hyperlinks to around 2,000 other
spreadsheets. All of the hyperlinks are held in the same column. All of the
other spreadsheets are of a standard format. There are 8 cells on each of
these spreadsheets that contain data that I want to collate in the master
spreadsheet. How do I do this without resorting to manually linking to all
2,000 sheets?
--
Thanks in advance of your replies. Your help much appreciated

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 Hyperlinked data RBeau Excel Worksheet Functions 6 January 19th 07 01:01 AM
Extracting or Referencing named cells in multiple spreadsheets Bonehead Excel Discussion (Misc queries) 3 November 27th 06 07:18 PM
Extracting Data for .Txt Files By Unique Field Data La Excel Discussion (Misc queries) 3 July 17th 06 01:30 PM
Formulae extracting data from other spreadsheets David Clark Excel Discussion (Misc queries) 2 October 26th 05 06:24 PM
Extracting Data Islandzoom Excel Discussion (Misc queries) 0 April 12th 05 11:42 AM


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