Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 73
Default name of file folder

how do you get the name of the file folder that your excel file is in?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default name of file folder

If the opened files are saved

Thisworkbook.Path
'will return the path of the current workbook(where the macro is placed)

Activeworkbook.Path
'will retun the path of active workbook

If this post helps click Yes
---------------
Jacob Skaria


"dstiefe" wrote:

how do you get the name of the file folder that your excel file is in?

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
Check for file in folder, if not there, open folder to rename file Don M. Excel Programming 9 October 22nd 08 07:34 PM
VBA can't find file as it moves from folder to folder pdberger Excel Programming 1 March 8th 07 01:08 AM
Save file in a new folder, but create folder only if folder doesn't already exist? nbaj2k[_40_] Excel Programming 6 August 11th 06 08:41 PM
Need code to save file to new folder, erase from old folder Ron M. Excel Discussion (Misc queries) 1 February 24th 06 06:02 PM
Create Folder and Text File in folder Todd Huttentsine Excel Programming 2 April 29th 04 03:41 PM


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