ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   FileExists Example: (https://www.excelbanter.com/excel-worksheet-functions/71952-fileexists-example.html)

El Bee

FileExists Example:
 
I am confused and trying to understand the "FileExists" function.
I'm trying to check if a file exists or not.


Syntax
object.FileExists(filespec)
The FileExists method syntax has these parts:

What is ment by the "Object." ? it is required when using this function.
I'm somewhat new to using VB and any help would be appreciated. An example
would be nice.


All times are GMT +1. The time now is 08:17 PM.

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