-----Original Message-----
I'm trying to place a reference of the same cell of 160
worksheets in a new sheet using a 3-d reference. However
when entering this formula: =(b:fb!q5) in the new sheet I
get a dialog box that says "file can't be found" and am
forced to explore for a file. Could someone tell me what
I'm doing wrong and/or if there's another way of
accomplishing this without having to manually type the
reference 160 times
First, the only place you can use 3D references in Excel is as arguments to
particular functions. That is, not even all functions accept 3D references. So
=SUM(alpha
mega!A1) is OK, but =ABS(alpha
mega!A1) and =alpha
mega!A1 will
both return #REF! errors.
As for the 'File not found' dialog, I can get Excel to display it using your
formula only when I don't have a worksheet named fb. Excel has a few warts, and
one of them is the ambiguity in formula syntax between external references to
single worksheet files in XL2 through XL4 .XLS format or such files in XL5 or
XL97 (and subsequent) .XLS format in which the worksheet name is the same as the
base filename (without the .XLS extension) on the one hand and 3D references on
the other. Excel doesn't require that the pathnames to files in external
references be fully qualified when entered, so "b:fb!A1" could be interpretted
as either the 3D reference to cell A1 in worksheets from b to fb or as the
equivalent of the external reference 'B:.\[fb]fb'!A1. On my system at least, if
the active workbook contains worksheets named b and fb, Excel treats =b:fb!A1 as
a 3D reference, but if either or both b or fb isn't a worksheet in the active
workbook, Excel treats =b:fb!A1 as an external reference to a file named fb
(without any extension) in the working directory of my B: drive.
So, are you sure you have a worksheet named 'fb', or could it contain a stray
space character or two?