A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Crack This One!



 
 
Thread Tools Display Modes
  #1  
Old January 17th, 2008, 04:56 PM posted to microsoft.public.excel.links
DINGO0Z[_2_]
external usenet poster
 
Posts: 1
Default Crack This One!


This is a difficult one.....I have posted this before and what you see
below is as far as it has gotten. Please help!

I am writing a formula in cell "B1" in "December 2007 REVISED BY
DAN.xlsm" that will reference cell "X1" in a workbook that has not been
created yet.
The way I will tell the formula what the name of the workbook will be
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 and
Settings\DBryant\desktop\B.D.I. SPREADSHEET PROJECT\CONTINUATION
SHEETS\'["&A1&".xlsx]Sheet1'!X1")___________|__
2_________|_______________________________________ __________________________________________________ ________________________________|__


It doesn't work.
I receive a reference error. I would expect this to happen if the
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!". (a
little celebration if I can get the formula to work

What next?
-Any help is appreciated




--
DINGO0Z
  #2  
Old January 17th, 2008, 11:20 PM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default Crack This One!

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

  #3  
Old January 17th, 2008, 11:20 PM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default Crack This One!

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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:06 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.