View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel[_779_] joel[_779_] is offline
external usenet poster
 
Posts: 1
Default Select range from ActiveCell do to Lastcell


Dim EndCell As Range
Dim FirstRow as Integer
Dim LastRow as Integer
FirstRow = ActiveSheet.ActiveCell.Row
LastRow ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Row

Set DataRange = ActiveSheet.Range("N" & FirstRow & ":N" & LastRow)
DataRange.ClearContents


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=186589

Excel Live Chat