Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Links / January 2008

Tip: Looking for answers? Try searching our database.

Crack This One!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DINGO0Z - 17 Jan 2008 16:56 GMT
This is a difficult one.....I have posted this before and what you se
below is as far as it has gotten. Please help!

I am writing a formula in cell "B1" in "December 2007 REVISED B
DAN.xlsm" that will reference cell "X1" in a workbook that has not bee
created yet.
The way I will tell the formula what the name of the workbook will b
is by referencing cell "A1" and adding the extension ".xlsx" to it.

Example:
"December 2007 REVISED BY DAN.xlsm"
_A________|B__________________________________________________________________________________________________________________________|C
1_DANTEST_|__=INDIRECT("C:\Documents an
Settings\DBryant\desktop\B.D.I. SPREADSHEET PROJECT\CONTINUATIO
SHEETS\'["&A1&".xlsx]Sheet1'!X1")___________|__
2_________|_________________________________________________________________________________________________________________________|_

It doesn't work.
I receive a reference error. I would expect this to happen if th
contents of "A1".xlsx did not yet exist, but infact it does.
The value of "A1" in my workbook containing the formula is "DANTEST"
The workbook C:\Documents and Settings\DBryant\desktop\B.D.I
SPREADSHEET PROJECT\CONTINUATION SHEETS\DANTEST.xlsx
does currently exist, and cell "X1" has the contents "HOORAY!". (
little celebration if I can get the formula to work

What next?
-Any help is appreciate

--
DINGO0Z
Bill Manville - 17 Jan 2008 23:20 GMT
Dingo0Z wrote:
> INDIRECT("C:\Documents and
> Settings\DBryant\desktop\B.D.I. SPREADSHEET PROJECT\CONTINUATION
> SHEETS\'["&A1&".xlsx]Sheet1'!X1")

I think your first ' is in the wrong place.
Should be after the first "

INDIRECT("'C:\Documents and
Settings\DBryant\desktop\B.D.I. SPREADSHEET PROJECT\CONTINUATION
SHEETS\["&A1&".xlsx]Sheet1'!X1")

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup
Bill Manville - 17 Jan 2008 23:20 GMT
Dingo0Z wrote:
> NDIRECT("C:\Documents and
> Settings\DBryant\desktop\B.D.I. SPREADSHEET PROJECT\CONTINUATION
> SHEETS\'["&A1&".xlsx]Sheet1'!X1")

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.