Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copying a particular range of values from one sheet to another in excel

PLEASE HELP

I have the following table in Excel.

code Name qty price value remarks

1 XX 2 2 4
1 YY 3 2 6
2 ZZ 1 2 2

The above is a sample. I have a table with over 200 records. I want t
move, say all records with the code 1 to a new sheet, code 2 to anothe
and so on. Is this possible with VBA.

Thank

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Copying a particular range of values from one sheet to another inexcel

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

Look for:

Update Sheets from Master -- uses an Advanced Filter to send data from
Master sheet to individual worksheets -- creates a list of unique items,
creates a sheet for each item, then replaces old data with current.
AdvFilterCity.xls 46 kb

or

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

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

"anoop_2000 <" wrote:

PLEASE HELP

I have the following table in Excel.

code Name qty price value remarks

1 XX 2 2 4
1 YY 3 2 6
2 ZZ 1 2 2

The above is a sample. I have a table with over 200 records. I want to
move, say all records with the code 1 to a new sheet, code 2 to another
and so on. Is this possible with VBA.

Thanks

---
Message posted from http://www.ExcelForum.com/


--

Dave Peterson

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Copying a particular range of values from one sheet to another in excel



Send me a sample sheet. Say, the first 10 lines. I will
write the code for you.


I need more info. Do you want the new sheetname to
be "Code 1" etc..
I just need to see where the cell references are. Are
there any blank cells (no data) in the table?

Do you want all data copied or just the data to the right
of the Code value?

If you have 200 codes, you will get 200 sheets plus the
original.


regards
Mark

Visit:
http://au.geocities.com/excelmarksway

-----Original Message-----
PLEASE HELP

I have the following table in Excel.

code Name qty price value remarks

1 XX 2 2 4
1 YY 3 2 6
2 ZZ 1 2 2

The above is a sample. I have a table with over 200

records. I want to
move, say all records with the code 1 to a new sheet,

code 2 to another
and so on. Is this possible with VBA.

Thanks


---
Message posted from http://www.ExcelForum.com/

.

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
Copying values from one sheet to the same cell in another sheet Ayo Excel Discussion (Misc queries) 2 September 19th 08 06:21 PM
Copying Specific Values From Sheet Jenn Excel Discussion (Misc queries) 1 July 11th 05 09:22 PM
Copying a range to another sheet Arlen Excel Discussion (Misc queries) 1 February 3rd 05 12:41 AM
copying values from sheet to another BubBob Excel Programming 0 September 3rd 03 07:27 AM
Copying a Filtered Range from a Sheet in another Workbook Frederick Excel Programming 2 August 10th 03 03:29 PM


All times are GMT +1. The time now is 06:38 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"