Hello,
I want to unprotect all a sheeht and onlly protect 2 cells and the activate the protection of the sheet
How to ? Syntax ?
oxls := TOleAuto():New("Excel.Application")
oxls:visible:=.T.
oxls:WorkBooks:Open("c:\test\test.xls")
oBook := oxls:Get( "ActiveWorkBook")
oSheet := oxls:Get( "ActiveSheet" )
and than ??
Select all cells
Desactivate protection
Select on cell
Activate protection of this cell
Activate the protection of the sheet ?
Thanks