View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Eric Dreshfield Eric Dreshfield is offline
external usenet poster
 
Posts: 14
Default Autofill question

How do I modify the following statement so that it does
not have a specific range hard-coded ?

Selection.AutoFill Destination:=ActiveCell.Range
("A1:B2498")

I need it to be generic in nature so that it will copy the
formula from the active cells to all rows below where
there is a value in the cell to the left.

Thanks !!