G
Guest
Unfortunately I dont know enough about the basic language of a macro, I can
record a short macro and make some edits in VB but thats about it.
How do I run a looping macro that at each change in cost centre (col A) I
input the code on each line beneath until I come to a blank line.
So in col A it will say Cost centre - Code (eg 301) Name (eg Christchurch)
The following rows, column A is blank and all the data that applies to 301
is listed from cols B to H in however many rows of data there are. I now
need to sort that info in the other columns so I want to run a macro that
each time the cost centre changes, offset 1 row and take the code from col A
and put that in column A until a blank line appears. Then I'll be able to
manipulate my data by cost centre which I cant currently do. Hope that makes
sense
record a short macro and make some edits in VB but thats about it.
How do I run a looping macro that at each change in cost centre (col A) I
input the code on each line beneath until I come to a blank line.
So in col A it will say Cost centre - Code (eg 301) Name (eg Christchurch)
The following rows, column A is blank and all the data that applies to 301
is listed from cols B to H in however many rows of data there are. I now
need to sort that info in the other columns so I want to run a macro that
each time the cost centre changes, offset 1 row and take the code from col A
and put that in column A until a blank line appears. Then I'll be able to
manipulate my data by cost centre which I cant currently do. Hope that makes
sense