#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default CurDir

CurDir does not return the present working directory of the
work book. How to get the present working directory of the
work sheet
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default CurDir

Assuming that the code is in the workbook that you're trying to lodate, use
ThisWorkbook.Path.

HTH

Alan Perkins

"vi_sh_wa" wrote in message
...
CurDir does not return the present working directory of the
work book. How to get the present working directory of the
work sheet



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default CurDir

The folder where the active workbook resides is
ActiveWorkbook.Path

HTH. Best wishes Harald

"vi_sh_wa" skrev i melding
...
CurDir does not return the present working directory of the
work book. How to get the present working directory of the
work sheet



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
Excel 97 VBA - CURDIR, not reliable Ricke G Excel Programming 2 July 28th 04 07:52 PM


All times are GMT +1. The time now is 11:47 PM.

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"