This is for the entire sheet - so ALL rows - ALL columns
Code:With ActiveSheet.UsedRange LastRow = .Rows(.Rows.Count).Row ColLast = .Columns(.Columns.Count).Column End With
This is for the entire sheet - so ALL rows - ALL columns
Code:With ActiveSheet.UsedRange LastRow = .Rows(.Rows.Count).Row ColLast = .Columns(.Columns.Count).Column End With
Last edited by Rasm; 04-14-2011 at 03:18 AM. Reason: typo
xl2007 - Windows 7
xl hates the 255 number
Bookmarks