Hi there..
Did you try the filesystemobject that's inside the scripting runtime in
VB? maybe you can change permissions from there (although I don't remember is that object fits you)...
For the excel part, the easy trick is to save a macro that do what you need (just start saving a macro, do all the alignment you need, then stop the macro). After that, check the code that excel wrote for you, and done.
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========