>Dear all & especially OLE Automation gurus :-)
>
>There was an advisor answer in August 2003 issue of VFP Advisor
>by Pamela Thalacker on how to protect sheet but alow column formating;
>
>oXL.ActiveSheet.Protect('Passw', .f. , .t. , .f. , .f. , .t. )
>
>Problem is that when I try to utilise this call I get an error
>
>'OLE Error code 0x8002000e: Invalid number od parameters '
>
>As a matter of fact I want to alow Data filtering feature which is very important to my users.
>
>In the rest of article full syntax is given with all parameters,
>including one I want, but I always get the same message (written above)
>
>Workable example of how to do this
>would be kindly appreciated
>
>Thks+++
>Sergio
Are you using the same version of Excel she used? I just tried it using Excel2002 and it worked just fine.