LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Extract workbook name within a macro

You can use ThisWorkbook.Path & Application.PathSeparator &
ThisWorkbook.Name


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"waveracerr " wrote in message
...
I need to extract a workbook name within a macro. Ultimately I need the
ability to have the name as a string value within my macro to use to
paste portions of the name within a cell. I have various macros that
will extract the filename, etc. but I need the ability to have the
filename as a string. Any idea on the code required for this action?
Thanks!


---
Message posted from http://www.ExcelForum.com/



 
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
Extract workbook information Joe Excel Discussion (Misc queries) 3 May 20th 10 05:34 PM
i need to extract infromation from other sheets in workbook to ma. Emma Excel Worksheet Functions 1 October 29th 07 07:13 PM
Extract specific data into its own workbook via macro? Adrian B Excel Discussion (Misc queries) 2 February 24th 05 06:09 AM
Extract All worksheet names in workbook Wendy[_3_] Excel Programming 2 December 8th 03 03:25 PM
Extract Workbook name from pathname ? Don Wiss Excel Programming 4 September 30th 03 01:48 PM


All times are GMT +1. The time now is 05:19 PM.

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"