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  

Formula too long error message to linked spreadsheet



 
 
Thread Tools Display Modes
  #1  
Old November 1st, 2007, 01:08 PM posted to microsoft.public.excel.links
Helsie
external usenet poster
 
Posts: 2
Default Formula too long error message to linked spreadsheet

I have several spreadsheets linked to a main one. Today when updating the
source data, I get the error message "formula too long". (The new source
document link has exactly the same number of characters as before.)

This has never happened before - there are not 1024 characters in the link
so I do not understand why it has happened.

I have searched this and the error user groups but cannot find anything that
relates to this error message being associated with links.

You assistance is greatly appreciated.
  #2  
Old November 1st, 2007, 01:36 PM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default Formula too long error message to linked spreadsheet

I don't know why this would suddenly start happening, unless you had
changed the link source using Edit Links and the resultant formula
became too long when including the full path to the source file.

The 1024 limit is not on the length of the linked file name itself but
on any formula incorporating that name.

If, for example you had a formula
=IF('C:\MyDir\[MyBook.xls]Sheet1'!A1=0,"",'C:\MyDir\[MyBook.xls]Sheet1'
!A1)
and you used Edit Links to change the source to some long network
path then the formula length would increase by twice the change in path
length.

Can you identify a formula that is giving the trouble?
If so, please post it here in case it triggers some other thoughts.


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

  #3  
Old November 1st, 2007, 01:51 PM posted to microsoft.public.excel.links
Helsie
external usenet poster
 
Posts: 2
Default Formula too long error message to linked spreadsheet

Bill

I am actually trying to update the link via edit links.

When I go in to edit links, select the relevant spreadsheet and go through
the various server areas to find the and select the correct file I then get
the error message and have to Ctrl Alt Del and End Task in Task Manager as
Excel hangs.

The previous link was to a sheet on the server in a in a folder called 2007
then subfolder called Q2_07, the revised spreadsheet sits on exactly the same
2007 folder and a new subfolder called Q3_07 with the name of the file also
changed to Q3_07.xls - so the full path name is no longer than before.

Regards

"Bill Manville" wrote:

I don't know why this would suddenly start happening, unless you had
changed the link source using Edit Links and the resultant formula
became too long when including the full path to the source file.

The 1024 limit is not on the length of the linked file name itself but
on any formula incorporating that name.

If, for example you had a formula
=IF('C:\MyDir\[MyBook.xls]Sheet1'!A1=0,"",'C:\MyDir\[MyBook.xls]Sheet1'
!A1)
and you used Edit Links to change the source to some long network
path then the formula length would increase by twice the change in path
length.

Can you identify a formula that is giving the trouble?
If so, please post it here in case it triggers some other thoughts.


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


  #4  
Old November 2nd, 2007, 05:57 PM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default Formula too long error message to linked spreadsheet

That is strange.
Does it help if you have the Q3_07.xls file open before doing the
Change Source operation?

Which version of Excel?
Can you post an example formula (with the source workbook closed)? -
the longest one you can think of

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 05:28 PM.


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