LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
David McRitchie
 
Posts: n/a
Default

I would suggest that you always include a cell reference if you want
a correct answer See comments in italic near the top of
http://www.mvps.org/dmcritchie/excel/pathname.htm
various usages are then supplied to extract workbookname, worksheetname, etc.

If you think it doesn't make any difference because it is all in the same
workbook. That is also an incorrect assumption. Type in your
crippled formula =cell("filename")
then open another workbook, and hit F9, then return to your first
workbook. It will have the values from the second workbook. So
you would want to start with
=cell("filename",A1)
it doesn't matter what cell on the sheet you refer to, all you need is
a reference within the sheet you want to refer to, or the workbook in this case.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"bj" wrote in message ...
look at the help on "Cell()"
=cell("Filename") will give you a filename including path. See if this will
give you want you want

"Barb R." wrote:

I would like to use the "WorkbookName" document property within an excel cell
(if that is the appropriate name). How do I get that name to be displayed
within a cell of my worksheet?

Thanks in advance,
Barb Reinhardt



 
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
How to embed Word document into Excel and retain sizing, formatti. Kent Excel Discussion (Misc queries) 0 February 2nd 05 07:37 PM
Document Properties in Header or Footer Rohullah Najafi Excel Discussion (Misc queries) 1 January 6th 05 02:59 PM
Excel document properties insert into a cell Mark Excel Discussion (Misc queries) 3 December 16th 04 02:05 PM
Help, insert a word document contents into excel tab? Dan Ward Excel Discussion (Misc queries) 2 December 15th 04 12:01 AM
Hyperlink to word document problem JS Links and Linking in Excel 0 December 8th 04 10:54 PM


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

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

About Us

"It's about Microsoft Excel"