Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to check the folder "c:\program files\microsoft
office" to see if a folder that is inside this folder is named office or office10 (or office something depending on the version of office that is installed on a PC) and run code based on the name of the folder. I have been attempting to use the dir function as follows: zx=dir ("c:\program files\microsoft office\office*") but this only returns a zero string, even though a folder beginining with the work office is in there. What code would I need to use to check for the existence of a folder whose name always contains office but could contain other characters as well? Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checking for the existence of a worksheet | Excel Discussion (Misc queries) | |||
Spell Checking with checking cell notes | Excel Discussion (Misc queries) | |||
Checking for the existence of a characted in a string | Excel Discussion (Misc queries) | |||
Checking to see if Folder exists | Excel Programming | |||
Checking for existence of macros or code in an Excel Spreadsheet | Excel Programming |