Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default Copy data and paste to different sheet named on Group

Hi,

I am looking for a macro for copy and pasting data based on condition. The
format of data id pasted below.

FSN Plan Name Rate Hrs
1112 ABC Tim $12.00 32
1112 DEF Nick $12.00 176
1245 CCC Tommy $38.00 67
1356 DDE Ricky $25.00 168
1112 FGT Tim $14.00 145

What I require is that entire data based on FSN No. should be pasted in the
diffrent sheet whose name is based on FSN. For example all data of FSN 1112
should be copied and pasted in different sheet where sheet name is FSN 1112.
And data of FSN 1356 should be copied and pasted in sheet FSN 1356.

It would be great if the sheet named on FSN is automatically created.

I request all the member to help me.

Regards

Prem




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Copy data and paste to different sheet named on Group

I'd keep the data in one worksheet.

Then use data|filter|autofilter to see the info that I want. I think you'll
find that this is the easiest solution.

But if you really, really must. Keep the data in one worksheet and refresh the
worksheets whenever you need (not while doing input--just run the macro when
you're ready).

Ron de Bruin's EasyFilter addin:
http://www.rondebruin.nl/easyfilter.htm

Code from Debra Dalgleish's site:
http://www.contextures.com/excelfiles.html

Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb

Update Sheets from Master -- uses an Advanced Filter to send data from
Master sheet to individual worksheets -- replaces old data with current.
AdvFilterCity.xls 55 kb

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Prem wrote:

Hi,

I am looking for a macro for copy and pasting data based on condition. The
format of data id pasted below.

FSN Plan Name Rate Hrs
1112 ABC Tim $12.00 32
1112 DEF Nick $12.00 176
1245 CCC Tommy $38.00 67
1356 DDE Ricky $25.00 168
1112 FGT Tim $14.00 145

What I require is that entire data based on FSN No. should be pasted in the
diffrent sheet whose name is based on FSN. For example all data of FSN 1112
should be copied and pasted in different sheet where sheet name is FSN 1112.
And data of FSN 1356 should be copied and pasted in sheet FSN 1356.

It would be great if the sheet named on FSN is automatically created.

I request all the member to help me.

Regards

Prem


--

Dave Peterson
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
Copy from one Sheet and paste on another sheet based on condition Prem Excel Discussion (Misc queries) 2 December 24th 07 05:05 AM
Copy and paste cahrt to new sheet-update data automatically? SKlee Charts and Charting in Excel 5 May 28th 07 02:00 PM
Copy Data from One Group of Cells to Another Group Alan Auerbach Charts and Charting in Excel 2 May 27th 07 04:12 PM
How do I copy a group of worksheets with named ranges in Excel 200 sc Excel Worksheet Functions 2 September 26th 06 12:16 AM
vba to sort group copy paste to another sheet mango Excel Worksheet Functions 0 November 5th 04 04:27 AM


All times are GMT +1. The time now is 02:58 AM.

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"