copy data across worksheets and add multiple lines
Hi I have a spreadsheet which has lines/values in sheet1 which need to get copied across to another worksheet but in some cases the macro needs to generate multiple lines in the second sheet. ie. if sheet 1 column J contains a value then a line is generated in sheet2 that contains a copy of sheet1, cols a,b,d, f and j if sheet 1 column K contains a value then a line is generated in sheet2 that contains a copy of sheet1, cols a,b,d, f and k If both fields J & K in sheet1 contain data then two lines would be generated in sheet2, if only one of the fields contain a value then only one line would be generated Any help with this wuld be appreciated -- madwoman ------------------------------------------------------------------------ madwoman's Profile: http://www.excelforum.com/member.php...o&userid=28221 View this thread: http://www.excelforum.com/showthread...hreadid=571147 |
All times are GMT +1. The time now is 10:36 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com