P
PerryK
I am just starting to learn about Visual Basic Commands in Macros.
I have a spreadsheet, that has a list of data in Column B.
The data in column B can vary in length
The first cell in column A has location name.
The data in "B" will continue until the next Loctaion starts in Column A
I am trying to figure out how to copy the location name in Column A and then
paste it down until it runs into the next Location Name.
This is an example of the data:
Location Product color
MD Red
Green
Orange
VA Blue
Brown
Black
Red
NC Violet
Orange
Brown
Green
Black
In this example, I need to copy the "MD" down until "VA" - then I need to
copy "VA" until "NC" then I need "NC" copied to the end of the list.
I cannot use a range of cells because the range varies for each location.
Is there a command that works like "Auto Fill"
Thanks
I have a spreadsheet, that has a list of data in Column B.
The data in column B can vary in length
The first cell in column A has location name.
The data in "B" will continue until the next Loctaion starts in Column A
I am trying to figure out how to copy the location name in Column A and then
paste it down until it runs into the next Location Name.
This is an example of the data:
Location Product color
MD Red
Green
Orange
VA Blue
Brown
Black
Red
NC Violet
Orange
Brown
Green
Black
In this example, I need to copy the "MD" down until "VA" - then I need to
copy "VA" until "NC" then I need "NC" copied to the end of the list.
I cannot use a range of cells because the range varies for each location.
Is there a command that works like "Auto Fill"
Thanks