TheSwamp
Code Red => VB(A) => Topic started by: Adesu on March 07, 2007, 03:30:31 AM
-
Hi Alls,
I just load a code from my friend,then I load it but display alert box as like at attach file,I don't know what meaning it.
-
I'm just guessing...
but I think it may not like the spaces in the names. Try taking out the spaces :-)
Not to mention the long search path...
-
I would suggest shortening the path to the file as well.
-
Hi Keith™ and Arizona,
That code has solve,it contained a password.
-
strange .. I use passwords to protect VBA projects regularly without incident.
-
The second screen caption also shows that it's in a different location to the first screen cappy with messagebox.
-
Man you got a lot of buttons!!
-
Ok .. I'll bet I know what happened ...
In VBA you can set a reference to the current project .... that reference is hard coded to the path of the vba file. The reference cannot be updated unless the project has full access.
Understood now ...
-
Man you got a lot of buttons!!
I thought FOR SURE you were going to comment on the subject text. :-D
-
Hi Keith™,
After I posted to my friend,that code contained a password,then he reposted code without password.
Ok .. I'll bet I know what happened ...
In VBA you can set a reference to the current project .... that reference is hard coded to the path of the vba file. The reference cannot be updated unless the project has full access.
Understood now ...