Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

offset with reference to unopen spreadsheet

Status
Not open for further replies.

pkhoo

MIS
Dec 6, 2002
15
US
hi all,

need your help here... i have an offset function with reference to an unopened spreadsheet. It comes back with #value! msg. If the spreadsheet is open, then the formula works. both spreadsheet are on the same directory. I am running excel 2000 sp3. APPRECIATE ANY HELP YOU CAN GIVE.
THANK YOU.[dazed]

regards
 
Hi,
[sub]
Patient: "Dr., my head hurts when I hit it with a hammer."

Doctor: "Stop hitting your head with a hammer! That will be $75.00!"
[/sub]
How 'bout opening the other workbook?

You could do that in the Wrokbook_Open Event. Macro record opening the other workbook, give the macro a meaningful name, and call it from
Code:
Private Sub Workbook_Open()

End Sub
Post back if you need help.

Skip,
[sub]
[glasses] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud."
"I think; therefore, I YAM!
[tongue][/sub]
 
thanks for the joke, need a laugh here....

well, i kinda like to send the spreadsheet to someone else without sending the supporting spreadsheets.... is this a problem with offset only since a simple link doesn't have the same problem.

thank you
peter
 


Please post the formula.

I find that OFFFSET sometimes does not work well in a sheet formula but does work in a Named Range via Insert/Name/Define.

Skip,
[sub]
[glasses] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud."
"I think; therefore, I YAM!
[tongue][/sub]
 
hi skip,

here's the formula
=SUM(OFFSET('[Global Qr View 2003 actuals.xls]260000 North America'!$D54,0,1,1,Info!$E$27))

thanks for looking into it.

peter
 
The problem with the OFFSET function, is that it returns a range, NOT JUST A SINGLE VALUE. It myst be dynamically available.

Skip,
[sub]
[glasses] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud."
"I think; therefore, I YAM!
[tongue][/sub]
 
ok,
just have to value range it if i need to forward it. thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top