PC Review


Reply
Thread Tools Rate Thread

copy data across worksheets and add multiple lines

 
 
madwoman
Guest
Posts: n/a
 
      13th Aug 2006

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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy data from 1 sheet to multiple worksheets Rob P Microsoft Excel Programming 2 15th Apr 2009 06:14 PM
Copy data to multiple specific worksheets? =?Utf-8?B?SG9nb21ldGVy?= Microsoft Excel Programming 4 9th Nov 2006 12:13 AM
Copy data from multiple worksheets to worksheets in a number of other spreadsheets SteveH Microsoft Excel Discussion 5 6th Nov 2006 06:59 PM
Copy data in multiple worksheets =?Utf-8?B?a2ZsZXRjaGI=?= Microsoft Excel New Users 2 11th Aug 2006 12:18 AM
Copy only certain data from multiple worksheets =?Utf-8?B?TWF0dA==?= Microsoft Excel Misc 0 10th Feb 2006 03:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:03 AM.