von Karolus » Do, 05.11.2009 14:59
Hallo
Nee, da du musst schon etwas Umrechnen, willst du zb. alle Zeilen von der ersten bis zu 30.sten ausser Zeile (x) (x als indexvariable):
dann etwa so:
oSheet.getcellrangebyposition(0,0,0, x-1 ).rows.Height = 500
..
oSheet.getcellrangebyposition(0,x+1,0,30).rows.Height = 500
Gruß Karo
Hallo
Nee, da du musst schon etwas Umrechnen, willst du zb. alle Zeilen von der ersten bis zu 30.sten [b]ausser[/b] Zeile (x) (x als indexvariable):
dann etwa so:
oSheet.getcellrangebyposition(0,0,0, [color=#FF0000]x-1[/color] ).rows.Height = 500
..
oSheet.getcellrangebyposition(0,[color=#FF0000]x+1[/color],0,30).rows.Height = 500
Gruß Karo