Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Path in formulas

Is there anyway to have Excel not put the path in a formula when renaming a
file. I have some large long IF statements in my workbook and when I save
the file in a different directory and then try to reopen, I get a "formula is
too long" error. These functions are linked to other spreadsheets on
different drives. Can someone please help?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Path in formulas

Rob,

Sorry, but no. The way around this is to put each link into a separate cell, then make your formula
using only those local cells.

HTH,
Bernie
MS Excel MVP


"Rob" wrote in message
...
Is there anyway to have Excel not put the path in a formula when renaming a
file. I have some large long IF statements in my workbook and when I save
the file in a different directory and then try to reopen, I get a "formula is
too long" error. These functions are linked to other spreadsheets on
different drives. Can someone please help?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Path in formulas

Bernie, could you put the references into a named-range...

RangeName:
LogRange

RefersTo:
=[c:\documents and settings\myname\my
documents\myOthersheet.xls]Logs!$A$1:$H$10

then the formulas would use the shorter name "LogRange" to represent that
link?

--
Regards,
John


"Bernie Deitrick" wrote:

Rob,

Sorry, but no. The way around this is to put each link into a separate cell, then make your formula
using only those local cells.

HTH,
Bernie
MS Excel MVP


"Rob" wrote in message
...
Is there anyway to have Excel not put the path in a formula when renaming a
file. I have some large long IF statements in my workbook and when I save
the file in a different directory and then try to reopen, I get a "formula is
too long" error. These functions are linked to other spreadsheets on
different drives. Can someone please help?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Path in formulas

John,

I don't know, because I personally prefer to not use complex names. I think they make it harder to
understand a workbook and maintain it.

But it may work, though I would certainly test to see what happens when the "myOthersheet" file is
saved under a different name.

Bernie
MS Excel MVP


"John Keith" wrote in message
...
Bernie, could you put the references into a named-range...

RangeName:
LogRange

RefersTo:
=[c:\documents and settings\myname\my
documents\myOthersheet.xls]Logs!$A$1:$H$10

then the formulas would use the shorter name "LogRange" to represent that
link?

--
Regards,
John


"Bernie Deitrick" wrote:

Rob,

Sorry, but no. The way around this is to put each link into a separate cell, then make your
formula
using only those local cells.

HTH,
Bernie
MS Excel MVP


"Rob" wrote in message
...
Is there anyway to have Excel not put the path in a formula when renaming a
file. I have some large long IF statements in my workbook and when I save
the file in a different directory and then try to reopen, I get a "formula is
too long" error. These functions are linked to other spreadsheets on
different drives. Can someone please help?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel changing Path of Formulas Peg Excel Discussion (Misc queries) 5 April 7th 09 06:18 PM
Advice long path names in formulas.... tim m Excel Worksheet Functions 1 July 6th 06 09:40 PM
hyperlink navigation path path wrong in Excel 2003 CE Admin Excel Discussion (Misc queries) 5 January 7th 06 07:47 PM
Copying formulas to a different file without path in the formula? P3SAB$ Excel Worksheet Functions 1 January 5th 06 08:51 PM
How prevent formulas to get external references/path to current workbook? Gunnar Johansson Excel Worksheet Functions 1 August 15th 05 10:39 AM


All times are GMT +1. The time now is 11:45 PM.

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

About Us

"It's about Microsoft Excel"