Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Function or formula to show currently active workbook name in cell

Hi all. Excel 2007 / XP Pro.
Is there a function or formula that will display the currently active
workbook name (without the path or filename extention) in a cell on the
currently open sheet in that workbook? There will be other open workbooks.
Appologies if this is a stupid question.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 464
Default Function or formula to show currently active workbook name in cell

One way
=MID(CELL("filename",A1),FIND("[",CELL("filename",A1))+1,FIND("]",CELL("filename",A1))-FIND("[",CELL("filename",A1))-1)


Or see: http://www.ozgrid.com/VBA/WorkbookPath.htm



--
Regards
Dave Hawley
www.ozgrid.com
"Wes_A" wrote in message
...
Hi all. Excel 2007 / XP Pro.
Is there a function or formula that will display the currently active
workbook name (without the path or filename extention) in a cell on the
currently open sheet in that workbook? There will be other open workbooks.
Appologies if this is a stupid question.


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
Screen scrolling to show active cell AlForester Excel Programming 2 July 13th 09 05:09 PM
Function or Formula to show the value from above cell ytayta555 Excel Worksheet Functions 8 June 2nd 09 09:14 PM
Click to show value in active cell Mik Excel Programming 5 January 31st 08 07:56 AM
How to show the active cell after running a macro? shellshock[_5_] Excel Programming 2 August 2nd 05 12:18 AM
Only want color to show when cell is active riccck Excel Worksheet Functions 1 March 31st 05 10:38 PM


All times are GMT +1. The time now is 08:59 AM.

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"