+ Reply to Thread
Results 1 to 4 of 4

imprinting a worksheet with the directory path with a formula

  1. #1
    Registered User
    Join Date
    01-24-2008
    Posts
    2

    Cool imprinting a worksheet with the directory path with a formula

    I know there is a way to imprint a worksheet with the entire path (e.g. X:susand/etc/etc) by entering a formula.
    I used to use this function and forgot the formula.

    I remember that it begins with =filename( )
    But, I do not remember what goes inside the parentheses.

    Help!

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Try this,

    =LEFT(CELL("filename",A1), FIND("]",CELL("filename", A1)))

    or

    =INFO("directory")

    For this to work you must save the file with a name first.
    Last edited by oldchippy; 01-24-2008 at 06:37 PM.
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    01-24-2008
    Posts
    2

    Thumbs up imprinting worksheet with filepath

    oldchippy:

    The formula:=INFO did not work.
    But, the other one did!
    Thanks, it is a little more lengthy than I remember, but it worked!
    Thanks a bunch!

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    When you say =INFO did not work, do you mean only the directory path was there, only that what it does. The other formula I gave includes the directory path+filename.

    Here's a link on INFO

    http://techonthenet.com/excel/formulas/info.php

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1