This should be pretty easy for all you VBA pros.
In a VBA Sub I create a file that its name is prefixed with a variable found in a cell. When the file is created a put it in a specific directory. This new code I want to develop looks for this file first before I create it again. The file can be found in:
C:\Users\Bob\Documents\"cellvariable" & code.txt
And "cellvariable" is a number found in a cell on a worksheet i.e. 12345. I simply want an IF statement that looks for the file in that directory, then if not found Calls another Sub that will then create the file. If found it does nothing meaning it does not create the file.
Thanks in advance.
Bookmarks