ndendrinos
Well-known Member
- Joined
- Jan 17, 2003
- Messages
- 1,694
In sheet2 , column A I have a list of companies
A1=Toyota A2=Ford A3=Chrysler
I keep adding new companies to this column.
In sheet 1 in A1 (through validation I choose an existing company.
I populate row 30 with data
I need a code that will copy the data in row 30 in sheet1
Go to sheet2
Match the chosen company in columnA… travel to the next populated row in columnA
Insert a new row above it then
Offset to column B and paste the data from row 30 in sheet1
This is what the before and after will look like:
Before:
A ............ B ................C ................ D................. E................. F
1 Toyota
2 Ford
3 Chrysler
4
After: (having chosen “Toyota” and populating row 30 in sheet 1 with hello…how…are…you
A ............... B............... C................. D................. E................ F
1 Toyota
..................... hello ............how........... are .................you
2 Ford
3 Chrysler
4
This is the desired result of the code, If you can think of a different approach I would like to hear it.
Many thanks for your help
A1=Toyota A2=Ford A3=Chrysler
I keep adding new companies to this column.
In sheet 1 in A1 (through validation I choose an existing company.
I populate row 30 with data
I need a code that will copy the data in row 30 in sheet1
Go to sheet2
Match the chosen company in columnA… travel to the next populated row in columnA
Insert a new row above it then
Offset to column B and paste the data from row 30 in sheet1
This is what the before and after will look like:
Before:
A ............ B ................C ................ D................. E................. F
1 Toyota
2 Ford
3 Chrysler
4
After: (having chosen “Toyota” and populating row 30 in sheet 1 with hello…how…are…you
A ............... B............... C................. D................. E................ F
1 Toyota
..................... hello ............how........... are .................you
2 Ford
3 Chrysler
4
This is the desired result of the code, If you can think of a different approach I would like to hear it.
Many thanks for your help
Last edited: