Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hidden columns in Excel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01146393
Message ID:
01146513
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform