Wanting to use INDIRECT without opening external sheet

W

Walter

I would like to use the INDIRECT function to bring in
values from another (user named) spreadsheet, however I do
not want the source spreadsheet opened.

According to HELP it needs to be opened. Is there a way to
do this without having to resort to VBA?
 
T

Tom Ogilvy

Not really.

I assume you want to use indirect because you are building the link
dynamically. If you just want to link to a closed workbook/worksheet, you
don't need indirect

='C:\Myfolder\[My workbook.xls]sheet1'!A1

Will work just fine.

Regards,
Tom Ogilvy
 
B

Bob Umlas

If you can reference it directly, without using INDIRECT, that's probably
the only way. Aside from VBA

Bob Umlas
Excel MVP
 
G

Guest

You assume correctly Tom, I would like the reference
created dynamically. How can I do it without opening the
source file?
-----Original Message-----
Not really.

I assume you want to use indirect because you are building the link
dynamically. If you just want to link to a closed workbook/worksheet, you
don't need indirect

='C:\Myfolder\[My workbook.xls]sheet1'!A1

Will work just fine.

Regards,
Tom Ogilvy


I would like to use the INDIRECT function to bring in
values from another (user named) spreadsheet, however I do
not want the source spreadsheet opened.

According to HELP it needs to be opened. Is there a way to
do this without having to resort to VBA?


.
 
H

Harlan Grove

You assume correctly Tom, I would like the reference
created dynamically. How can I do it without opening the
source file?

Only with VBA or an add-in such as Laurent Longre's MOREFUNC.XLL, which
includes a function named INDIRECT.EXT which can resolve dynamic links to
closed workbooks most of the time. It works well on my work machine running
NT4SP6 and XL97SR2, but not on my wife's PC running ME and XL2KSP3. It's
simply not possible with worksheet functionality alone.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top