tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,194
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi everybody,
I need a way to remove a row of data from a client list, and paste it into another sheet,
I have a list of clients in sheet1, the data starts in column A and goes all the way across to column FQ
in Sheet 2 I have a drop down box with all the clients names,
I need a way to cut and paste that clients data from my list into sheet 2 row 2 (row 1 will have headers) so the first cell to post into will be A2,
now some of the data is formulas so I need it to cut and paste values so as not to lose this data?
I've never used any kind of find and cut code before so I don't know where to start but if someone could help me with the vba code I need that would be amazing.
If I was writing the code in English it would go like this:
Look at name selected from dropdown box in cell C4, goto sheet1, look down column B and find matching client (there will only be one name to look for, no duplicates)
Select that clients entire row (or cells A to FQ if easier) cut, goto Sheet2 A2 paste values.
now when I look at that It doesn't seem that hard to do, but I can't get anything close so you help would be very much appreciated and is very needed.
Thanks
Tony
I need a way to remove a row of data from a client list, and paste it into another sheet,
I have a list of clients in sheet1, the data starts in column A and goes all the way across to column FQ
in Sheet 2 I have a drop down box with all the clients names,
I need a way to cut and paste that clients data from my list into sheet 2 row 2 (row 1 will have headers) so the first cell to post into will be A2,
now some of the data is formulas so I need it to cut and paste values so as not to lose this data?
I've never used any kind of find and cut code before so I don't know where to start but if someone could help me with the vba code I need that would be amazing.
If I was writing the code in English it would go like this:
Look at name selected from dropdown box in cell C4, goto sheet1, look down column B and find matching client (there will only be one name to look for, no duplicates)
Select that clients entire row (or cells A to FQ if easier) cut, goto Sheet2 A2 paste values.
now when I look at that It doesn't seem that hard to do, but I can't get anything close so you help would be very much appreciated and is very needed.
Thanks
Tony