pleb said:
Hi,
I respost my question because of my mistake.
Is there constants to use "find" vba project command rather string as
"equal" for the parameters of "find" function.
PLeb.
Pleb,
Yes, I remember you original post and I apologize that none of us
responded - we should have given you at least some feedback.
Unfortunately the answer to your question is "no". The VBA syntax spells
out the data type for command arguments and the "Test" argument is a
string data type. And to be honest, I've only worked with the English
version so I don't know how VBA source code differs for other languages
although once the code is compiled, it should be source language
independent, but that is just a guess on my part.
Your original post indicates you are using the macro recorder to
generate code. Doing so generates code that runs in the foreground (i.e.
recorded code generally selects objects on which to perform an
operation). Writing code that manipulates Project's objects directly
runs in the background and generally is much more flexible and runs
faster. Whether that will help in your case or not, I don't know.
John
Project MVP