Déplacement de cellule dans la feuille active

De zBasic
Révision de 5 janvier 2024 à 10:56 par Bidouille (discussion | contributions) (Page créée avec « Catégorie:Exemples Fichier:ZCellule.Courante.gif Sub Main GlobalScope.BasicLibraries.loadLibrary ("zBasic") oAvant = zCellule.Courante() zCellule.Couran... »)

(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

ZCellule.Courante.gif

Sub Main
	GlobalScope.BasicLibraries.loadLibrary ("zBasic")
	
	oAvant = zCellule.Courante()
	zCellule.Courante("A14") 
	oApres = zCellule.Courante()
	msgbox "Cellule déplacée de " & _ 
		oAvant("COLONNE") & oAvant("LIGNE") & _
		" vers " & _
		oApres("COLONNE") & oApres("LIGNE")
End Sub