C
Colin Hayes
Hi
I run a macro weekly to change around some data exported from Access
into a form more acceptable to another application.
The amount of rows varies with each lot of new data.
To compensate for this I have change an autofill command to accommodate
the new amount of rows.
For example , last week the command was :
Range("D1").Select
Selection.AutoFill Destination:=Range("D1
31439"),
Type:=xlFillDefault
There were 31439 rows in that file. In this week's file , there are
32555 rows so I will have to go through the coding to change 31439 to
32555.
What I would really like is some coding which would work out how many
rows there were in the new file and autofill to the bottom one , without
me having to change it manually every time.
Is this possible?
Thanks
Drno
I run a macro weekly to change around some data exported from Access
into a form more acceptable to another application.
The amount of rows varies with each lot of new data.
To compensate for this I have change an autofill command to accommodate
the new amount of rows.
For example , last week the command was :
Range("D1").Select
Selection.AutoFill Destination:=Range("D1
Type:=xlFillDefault
There were 31439 rows in that file. In this week's file , there are
32555 rows so I will have to go through the coding to change 31439 to
32555.
What I would really like is some coding which would work out how many
rows there were in the new file and autofill to the bottom one , without
me having to change it manually every time.
Is this possible?
Thanks
Drno