View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
jeremy nickels[_2_] jeremy nickels[_2_] is offline
external usenet poster
 
Posts: 1
Default Copying formula to the bottom of a range

I'm trying to create a macro that copies a formula in a column down to the
bottom of a range.

For example, I have data in columns A - L. In column M, I want to create a
formula and copy it down to the bottom of my data. The only problem is my
data is dynamic. One day it might end on row 1038, another day it might end
on row 1152.

Anyone have VBA code that can help me do this?