A
A.Geeraert
Can anyone help me with the following :
I have a worksheet with filled cells in columns P2 to (say) column BL2
I use this line to count the used colums, but it failed :
With ActiveSheet
lKolommen = .Range("P2:" &
..Range("P2").End(xlRight).Address).Columns.Count
End With
Why doesn't it work ?
I have a worksheet with filled cells in columns P2 to (say) column BL2
I use this line to count the used colums, but it failed :
With ActiveSheet
lKolommen = .Range("P2:" &
..Range("P2").End(xlRight).Address).Columns.Count
End With
Why doesn't it work ?