Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default Getting file name from Worksheet or Workbook?

Wonder if it's possible to get the file name from either a Worksheet or Workbook object. Found the Workbook.Path property, but there's no corresponding File property.

Thanks,

Gustaf
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Getting file name from Worksheet or Workbook?

Activeworkbook.Name
--
If this post helps click Yes
---------------
Jacob Skaria


"Gustaf" wrote:

Wonder if it's possible to get the file name from either a Worksheet or Workbook object. Found the Workbook.Path property, but there's no corresponding File property.

Thanks,

Gustaf

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Getting file name from Worksheet or Workbook?

Or
Activeworkbook.FullName
Regards,
Stefi

€˛Jacob Skaria€¯ ezt Ć*rta:

Activeworkbook.Name
--
If this post helps click Yes
---------------
Jacob Skaria


"Gustaf" wrote:

Wonder if it's possible to get the file name from either a Worksheet or Workbook object. Found the Workbook.Path property, but there's no corresponding File property.

Thanks,

Gustaf

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
Saving just 1 worksheet out of a workbook to a separate file Rich D Excel Discussion (Misc queries) 1 January 23rd 08 02:31 AM
How can I email one worksheet in a workbook, not the whole file? DLO Excel Discussion (Misc queries) 0 May 18th 07 01:59 AM
Save one worksheet from a workbook to a new .csv file Chuck M Excel Programming 2 November 8th 06 04:14 PM
CREATING NEW WORKBOOK FILE EVERY MONTH AND NEW WORKSHEET EVERY DATE michael sofianos Excel Programming 1 May 9th 05 10:46 PM
How do I copy a worksheet from a workbook as csv file Husker87 Excel Discussion (Misc queries) 6 March 26th 05 09:41 AM


All times are GMT +1. The time now is 05:17 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"