von Karolus » Fr, 07.11.2008 10:36
Hallo
Code: Alles auswählen
sub spalten_schalten_I_bis_AD_E
oSheet = thisComponent.currentcontroller().activesheet
aspalten() = array("i","j","k","l","m","n","o","p","q","r","s","t"_
,"v","w","x","y","z","aa","ab","ac","ad","e")
for i = 0 to ubound(aspalten())
oSpalte1 = oSheet.getColumns().getByName(aspalten(i))
oSpalte1.isVisible = not oSpalte1.isVisible
next
end sub
Gruß Karo
Hallo
[code]sub spalten_schalten_I_bis_AD_E
oSheet = thisComponent.currentcontroller().activesheet
aspalten() = array("i","j","k","l","m","n","o","p","q","r","s","t"_
,"v","w","x","y","z","aa","ab","ac","ad","e")
for i = 0 to ubound(aspalten())
oSpalte1 = oSheet.getColumns().getByName(aspalten(i))
oSpalte1.isVisible = not oSpalte1.isVisible
next
end sub[/code]
Gruß Karo