XL_PROTECTCHARTSHEET()

 

Version Ref: 6.1 (USP 6.0.02)

 

Syntax:

 

 e = XL_PROTECTCHARTSHEET(cs, password)
	Add a password to restrict editing of a chartsheet.

	Parameters -
		cs       : Handle to chartsheet to protect.
		password : Password to use to protect this sheet.

	Returns "1" on success and "-1" on error. XL_ERROR() can be called to return
	the last error.