Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden columns in Excel
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01146393
Message ID:
01146513
Views:
14
Here is what I put in my routine:
	if m.tlLockHeaderRow && we need to prevent headers from modifying
			** Code from Borislav Borissov
			loSheet.range(m.lcRange).select
			loExcel.Selection.Locked = .t.
*			loExcel.ActiveWorkbook.ActiveSheet.Protect(,.t.,,.t.)
    endif 	
With protect none of the cells could be edited. Without protect all cells including headers can be edited. Need more help to get it right.

Thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform