ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Unix files (https://www.excelbanter.com/excel-discussion-misc-queries/203364-unix-files.html)

kiran

Unix files
 
Hi All,
I have files in unix in the following path "/data/fcfiles/fgfiles" every day
files will be ftp'd, my query is I want "Yes" next to file name in excel if
files it is avilable or "No"
Example of files: -
UUD
UUI
UUL
UVK
421
425
478

TIA

joel

Unix files
 
I think you need a simple UDF function. Call with

=IsFile("/data/fcfiles/fgfiles/"&A1) where A1 is the filename.

Function IsFile(FName)
if Dir(FName) = "" then
IsFile = "No"
else
IsFile = "Yes"
end Function

"kiran" wrote:

Hi All,
I have files in unix in the following path "/data/fcfiles/fgfiles" every day
files will be ftp'd, my query is I want "Yes" next to file name in excel if
files it is avilable or "No"
Example of files: -
UUD
UUI
UUL
UVK
421
425
478

TIA



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com