Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Main Form - copy exact data from multiple worksheets with live lin uncreative Excel Worksheet Functions 1 March 17th 10 01:43 AM
how to copy data from one worksheet to multiple worksheets at once zeb Excel Worksheet Functions 2 October 21st 08 07:25 PM
enter data once... copy to multiple cells on other worksheets Larry G Excel Discussion (Misc queries) 4 January 3rd 07 06:13 PM
Copy data in multiple worksheets kfletchb New Users to Excel 2 August 11th 06 12:18 AM
Copy only certain data from multiple worksheets Matt Excel Discussion (Misc queries) 0 February 10th 06 03:06 PM


All times are GMT +1. The time now is 12:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"