blaksnm
Well-known Member
- Joined
- Dec 15, 2009
- Messages
- 554
- Office Version
- 365
- Platform
- Windows
Hey guys
Todays problem:
I make a list of all files in a folder. I choose one of the files from this list as default. The path/filename is placed in
Sheet("FileOpen") Range("A1").
During my session I must have the oportunity to use a Dummy-file instead of one of the valid ones in the list. This dummy has to be placed in a different folder than the folder my list is made by, like:
.. " if file (tryed to open) not exist (in folder my list is made by) - then open a reele dummy placed somewhere else ..." - kind of action
How to I create this test in my macro?
Todays problem:
I make a list of all files in a folder. I choose one of the files from this list as default. The path/filename is placed in
Sheet("FileOpen") Range("A1").
During my session I must have the oportunity to use a Dummy-file instead of one of the valid ones in the list. This dummy has to be placed in a different folder than the folder my list is made by, like:
.. " if file (tryed to open) not exist (in folder my list is made by) - then open a reele dummy placed somewhere else ..." - kind of action
How to I create this test in my macro?