Thread
:
vba - Select Used Range minus the top header
View Single Post
#
2
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
vba - Select Used Range minus the top header
One way?
Sub SelectUsedRangeLessTopRow()
With ActiveSheet.UsedRange
mr = .Rows.Count
mc = .Columns.Count
.Range(Cells(2, 1), Cells(mar, mc)).Select
End With
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"Johnny" wrote in message
...
Hi all,
I am using "ActiveSheet.UsedRange.Select" to select the used range and
that's great. However, I can't figure out how to ignore the first row
of data, because it's a header. I'm still searching the boards but I
haven't seen anyone ask this question.
Thanks
John
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett