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  

Excel Links



 
 
Thread Tools Display Modes
  #1  
Old January 23rd, 2008, 02:11 AM posted to microsoft.public.excel.links
Pat I
external usenet poster
 
Posts: 1
Default Excel Links

I am using Excel 2000 and have several workbook that link to a spreadsheet.
Within each workbook, there are links to several cells in the spreadsheet
(which is a different file). I cannot link all of the applicable cells from
the spreadsheet into the appropriate workbook. In some cells, I get the
error "formula too long". What does this mean and how can I fix it so that I
can link to all the applicable cells from the spreadsheet?
  #2  
Old January 23rd, 2008, 11:08 PM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default Excel Links

If you have a formula like =[OtherBook.xls]SheetName!RangeName
and Otherbook.xls resides at C:\MyFolder
the formula (when OtherBook.xls is closed) is
='C:\MyFolder\[OtherBook.xls]SheetName'!RangeName

The limit on the length of a formula is 1024 characters.
The formula above would count as 48 characters (even if OtherBook.xls
is open and it takes the shorter form when viewed in the formula bar)

If OtherBook.xls is in a directory with a very long path, has a long
workbook name, a long sheet name and/or a long range name you might hit
the limit, particularly if the formula contains multiple references to
OtherBook -
e.g. if the formula is
=IF([OtherBook.xls]SheetName!RangeName=0,"",[OtherBook.xls]SheetName!Ra
ngeName)

then the full form of the link (when Otherbook.xls closed) would only
have to be about 500 characters to break the limit.

Hope this helps.
If not, give us an example of the formulas you are trying to create
with detail of where the Otherbook.xls is located.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

  #3  
Old January 31st, 2008, 03:30 AM posted to microsoft.public.excel.links
Pat I[_2_]
external usenet poster
 
Posts: 2
Default Excel Links

Thanks for replying Bill.
Sorry it took me so long to get back with you, but I couldn't find the
discussion group and the link in the notification email didn't work. I'll
save the page to my favorites this time.

The cells do contain the file path, folder name, subfolder name, workbook
name, sheet name and cell range. Would it help if I move both files into the
same folder? Can I manually delete the file path from the cell? Here is an
example of the cell info that is linked to the spreadsheet:

='C:\Documents and Settings\Owner\My
Documents\FolderName\SubfolderName\[FileName.xls]SheetName!CellName

Please note that this sheet was originally created on my Windows XP
computer, but I now have it on my Windows Vista computer.

--
Thank you for your reply,


"Bill Manville" wrote:

If you have a formula like =[OtherBook.xls]SheetName!RangeName
and Otherbook.xls resides at C:\MyFolder
the formula (when OtherBook.xls is closed) is
='C:\MyFolder\[OtherBook.xls]SheetName'!RangeName

The limit on the length of a formula is 1024 characters.
The formula above would count as 48 characters (even if OtherBook.xls
is open and it takes the shorter form when viewed in the formula bar)

If OtherBook.xls is in a directory with a very long path, has a long
workbook name, a long sheet name and/or a long range name you might hit
the limit, particularly if the formula contains multiple references to
OtherBook -
e.g. if the formula is
=IF([OtherBook.xls]SheetName!RangeName=0,"",[OtherBook.xls]SheetName!Ra
ngeName)

then the full form of the link (when Otherbook.xls closed) would only
have to be about 500 characters to break the limit.

Hope this helps.
If not, give us an example of the formulas you are trying to create
with detail of where the Otherbook.xls is located.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup


  #4  
Old January 31st, 2008, 07:24 AM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default Excel Links

Pat I wrote:
='C:\Documents and Settings\Owner\My
Documents\FolderName\SubfolderName\[FileName.xls]SheetName!CellName


That, in itself doesn't indicate how close to the 1024 limit you are
sailing - depends on the actual names.

If any of the names is particularly long it would be wise to shorten it
by renaming.

Moving files into the same folder would not in itself help unless the
full path to the folder was shorter.

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 11:23 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.