vba and curdir , chdir and mkdir

abubasil

Registered User.
Local time
Today, 07:38
Joined
Aug 31, 2011
Messages
29
HI all, Please help me with this , I gave up I've made this block of code but still something wrong.
 

Attachments

I think the problem is with the form. If you create a new form and copy the code to the new form, it seems to work. Perhaps your form is corrupt.
 
So what is the purpose of using ChDir?
 
thank you for caring the code do half the job , it creates the dir if it not exist, and makes it the current directory to the project and gives the user an alarm about creating the new dir , if the user moves the project the to new dir the code should not give the alarm again and should not quite , think about the scenario again , do what needed as user , move the project and see what makes the work halt thank you again
 
Now it works , Please check and let me know
 

Attachments

Last edited:

Users who are viewing this thread

Back
Top Bottom