Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 166
Default Can DIR detect if a Folder exists?


I find no difference using DIR between a non existant Folder Vs an
empty Folder.

Thanks - Kirk
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Can DIR detect if a Folder exists?

Kirk,

You need to specify "vbDirectory" as the 2nd argument.

hth,

Doug

"kirkm" wrote in message ...

I find no difference using DIR between a non existant Folder Vs an
empty Folder.

Thanks - Kirk

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4153 (20090613) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




__________ Information from ESET NOD32 Antivirus, version of virus signature database 4153 (20090613) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 166
Default Can DIR detect if a Folder exists?

On Sun, 14 Jun 2009 21:46:59 -0700, "Doug Glancy"
wrote:

Kirk,

You need to specify "vbDirectory" as the 2nd argument.


Thanks Doug. Worked a treat !

Cheers - Kirk
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
Detect if a Defined Name Exists Rob Excel Programming 4 January 14th 09 02:08 PM
Kill all files in Folder, If folder exists u473 Excel Programming 2 November 28th 08 08:57 PM
Check if folder exists, if yes just copy sheet in to folder? Simon Lloyd[_787_] Excel Programming 3 June 19th 06 03:44 PM
Detect if file exists PeterW[_12_] Excel Programming 5 April 2nd 06 04:13 PM
how to check if folder exists funkymonkUK[_76_] Excel Programming 3 October 14th 05 12:03 PM


All times are GMT +1. The time now is 11:23 AM.

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"