Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Copy cells to new worksheet but only IF

Hi,

I have a worksheet with several columns, each row contains data on a single
management option, the last colum (L) is labelled either YES or NO depending
on whether the option has been agreed to be actioned or not.

I need a macro to check each row, and if the final column (L) is a YES then
to copy the info in the first say 4 cells in that row to a new sheet, so that
at the end I have a new sheet with a list of actions to be implemented.

I would really appreciate help on this one,

Thanks in Advance

Nejl

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Copy cells to new worksheet but only IF

just click in you data and do Data=Filter=Autofilter. Then go to the
column with Yes, No and in the dropdown select Yes. Select the first 4
columns and do Edit=Copy, go to the new sheet, select A1 and do
Edit=Paste. Only the visible rows are copied. Go back to the original
and do Data=filter=Autofilter to remove the filter.

If you need a macro, turn on the macro recorder while you do it manually.

--
Regards,
Tom Ogilvy

"nejl" wrote in message
...
Hi,

I have a worksheet with several columns, each row contains data on a

single
management option, the last colum (L) is labelled either YES or NO

depending
on whether the option has been agreed to be actioned or not.

I need a macro to check each row, and if the final column (L) is a YES

then
to copy the info in the first say 4 cells in that row to a new sheet, so

that
at the end I have a new sheet with a list of actions to be implemented.

I would really appreciate help on this one,

Thanks in Advance

Nejl



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
Macro to copy cells from one worksheet to another Kirby Excel Discussion (Misc queries) 1 October 17th 08 09:33 PM
How to copy cells from one worksheet to another if the value in ra sgtpsychosis Excel Worksheet Functions 4 August 17th 08 05:13 PM
copy cells from one worksheet to another Garrett Excel Discussion (Misc queries) 1 September 5th 05 12:55 AM
copy formulas to different cells in another worksheet jskamm Excel Discussion (Misc queries) 1 August 15th 05 06:32 PM
Copy cells to another worksheet Denise Excel Discussion (Misc queries) 3 April 22nd 05 08:06 PM


All times are GMT +1. The time now is 07:15 PM.

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

About Us

"It's about Microsoft Excel"