Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default importing data from closed Excel workbook

In cell G2 I have the following formula:

=INDEX('[Database -- AR and EQ.xls]Stock
Lookup'!$G$2:$G$6000,MATCH($B2,'[Database -- AR and EQ.xls]Stock
Lookup'!$B$2:$B$6000,0),1)

I other columns (H through Q), I have similar formulas but linking to
different closed workbooks.

When 'Database -- AR and EQ.xls' is closed, the formula is much longer than
the one posted above because it references folders on the hard drive:

=INDEX('U:\SC\Research\Other\Hot List\Hot List Database\[Database -- AR and
EQ.xls]Stock Lookup'!$G$2:$G$6000,MATCH($B2,'U:\SC\Research\Cap ital IQ\Hot
List\Hot List Database\[Database -- AR and EQ.xls]Stock
Lookup'!$B$2:$B$6000,0),1)

I have a macro that will pull down this formula about about 6000 rows. I
have similar formulas in other columns. Then excel copies and pastes the
values.

As you can imagine, updating these links from the closed workbook takes a
very, very long time. Opening the "Database -- AR and EQ.xls" workbook
before refreshing the links probably won't work for me because a commercial
add-in I need to use interferes with the open process for some reason.

I'm wondering if there is a faster way to update the data than this? I
don't necessarily need to pull down and copy paste value the formulas; I just
need the data in the right place based on the cell references the formulas
refer to.

Thanks for thinking about this.

SteveC
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default importing data from closed Excel workbook

Hi Steve:

If you open the workbook before copying and pasting it should work fast.
Another way is to use a macro that get the result and then pastes a hard
value in. Although this does not dynamically update the next time.

As an alternative you could copy the sheets in to the working speaksheet and
link there.

Then everytime you want to update you just copy the data into the working
workbook.

This will improve the lookups.

--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"SteveC" wrote:

In cell G2 I have the following formula:

=INDEX('[Database -- AR and EQ.xls]Stock
Lookup'!$G$2:$G$6000,MATCH($B2,'[Database -- AR and EQ.xls]Stock
Lookup'!$B$2:$B$6000,0),1)

I other columns (H through Q), I have similar formulas but linking to
different closed workbooks.

When 'Database -- AR and EQ.xls' is closed, the formula is much longer than
the one posted above because it references folders on the hard drive:

=INDEX('U:\SC\Research\Other\Hot List\Hot List Database\[Database -- AR and
EQ.xls]Stock Lookup'!$G$2:$G$6000,MATCH($B2,'U:\SC\Research\Cap ital IQ\Hot
List\Hot List Database\[Database -- AR and EQ.xls]Stock
Lookup'!$B$2:$B$6000,0),1)

I have a macro that will pull down this formula about about 6000 rows. I
have similar formulas in other columns. Then excel copies and pastes the
values.

As you can imagine, updating these links from the closed workbook takes a
very, very long time. Opening the "Database -- AR and EQ.xls" workbook
before refreshing the links probably won't work for me because a commercial
add-in I need to use interferes with the open process for some reason.

I'm wondering if there is a faster way to update the data than this? I
don't necessarily need to pull down and copy paste value the formulas; I just
need the data in the right place based on the cell references the formulas
refer to.

Thanks for thinking about this.

SteveC

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default importing data from closed Excel workbook

Martin, good suggestions, thanks. Will give them a shot.

"Martin Fishlock" wrote:

Hi Steve:

If you open the workbook before copying and pasting it should work fast.
Another way is to use a macro that get the result and then pastes a hard
value in. Although this does not dynamically update the next time.

As an alternative you could copy the sheets in to the working speaksheet and
link there.

Then everytime you want to update you just copy the data into the working
workbook.

This will improve the lookups.

--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"SteveC" wrote:

In cell G2 I have the following formula:

=INDEX('[Database -- AR and EQ.xls]Stock
Lookup'!$G$2:$G$6000,MATCH($B2,'[Database -- AR and EQ.xls]Stock
Lookup'!$B$2:$B$6000,0),1)

I other columns (H through Q), I have similar formulas but linking to
different closed workbooks.

When 'Database -- AR and EQ.xls' is closed, the formula is much longer than
the one posted above because it references folders on the hard drive:

=INDEX('U:\SC\Research\Other\Hot List\Hot List Database\[Database -- AR and
EQ.xls]Stock Lookup'!$G$2:$G$6000,MATCH($B2,'U:\SC\Research\Cap ital IQ\Hot
List\Hot List Database\[Database -- AR and EQ.xls]Stock
Lookup'!$B$2:$B$6000,0),1)

I have a macro that will pull down this formula about about 6000 rows. I
have similar formulas in other columns. Then excel copies and pastes the
values.

As you can imagine, updating these links from the closed workbook takes a
very, very long time. Opening the "Database -- AR and EQ.xls" workbook
before refreshing the links probably won't work for me because a commercial
add-in I need to use interferes with the open process for some reason.

I'm wondering if there is a faster way to update the data than this? I
don't necessarily need to pull down and copy paste value the formulas; I just
need the data in the right place based on the cell references the formulas
refer to.

Thanks for thinking about this.

SteveC

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 2003 - importing info from closed workbooks BJ&theBear Excel Discussion (Misc queries) 0 May 27th 10 09:05 PM
importing data from closed workbook lieven Excel Programming 1 March 11th 08 11:41 PM
Excel Form data to closed workbook don Excel Programming 0 July 17th 07 09:16 AM
Importing data from multiple closed workbooks Judy[_7_] Excel Programming 5 December 29th 05 10:46 PM
Help importing data from a closed workbook Elvis The King Excel Programming 1 August 31st 05 03:49 AM


All times are GMT +1. The time now is 12:29 PM.

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"