Quote Originally Posted by mdmackillop
If n <50 then n = 50 
Rows(k & ":" & n).Hidden = True
That gives me a 'Type mismatch' error, even if i append End if to the code,
am i supposed to put it somewhere special ?