On Nov 14, 2:43 pm, Barb Reinhardt
<BarbReinha...@discussions.microsoft.com> wrote:
> (1) Range("A3:A" & R ).value = range("A3").value
>
> The value of R may need to change depending on how you've defined it.
Actually I don't know R "a priori", I need a function that tells me
the highest rownumber.
> (2)
> ActiveWorkbook.SaveAs Filename:=ActivewWorkbook.Path & "\" &
> "MYNEWFILE.xls", FileFormat:=xlNormal
Thanks a lot, this one works great!
freightliner2006@hotmail.com - 14 Nov 2007 20:56 GMT
On Nov 14, 3:08 pm, freightliner2...@hotmail.com wrote:
> On Nov 14, 2:43 pm, Barb Reinhardt
>
[quoted text clipped - 5 lines]
> Actually I don't know R "a priori", I need a function that tells me
> the highest rownumber.
never mind I got it with
R = ActiveSheet.UsedRange.Rows.Count
thanks