willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 929
- Office Version
- 365
- Platform
- Windows
Hello,
I am hoping someone could help me write a certain code that can do the following:
If Cell D1 has text: "Update File Series"
Create a file in the directory specified in cell: Z1 and name it based on cell Y1.
If the file in this directory with this name does not exist, do not create and end sub.
So I suppose I want the code to not only run when Cell D1 has text: "Update File Series" but also check if the file already exists and then create it if it does not
I hope I am being clear. Thank you to anyone who can help with this!
I am hoping someone could help me write a certain code that can do the following:
If Cell D1 has text: "Update File Series"
Create a file in the directory specified in cell: Z1 and name it based on cell Y1.
If the file in this directory with this name does not exist, do not create and end sub.
So I suppose I want the code to not only run when Cell D1 has text: "Update File Series" but also check if the file already exists and then create it if it does not
I hope I am being clear. Thank you to anyone who can help with this!