Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mango
 
Posts: n/a
Default vba to sort group copy paste to another sheet

dear all, need help from the forum.
if i want to sum the same material in (column c) together with qty (column
d) and price (column o) and put in new sheet using vba. i want to automate by
click on button and put in another sheet.
i need to sort and group and sum up the price and qty by different material.

my problem now is
1)starting row could be different. 1 time is row 15 but other time could be
20, etc.
2) in between row sometimes there is a blank row and sometimes no blank row.
3)how to paste special by value automately
4)columns no change. which means i only make use of column c, d, o
5) how to know which row to start and end at which row as in between having
empty rows.

format something like this. in between item sometimes there is a blank row
or sometimes no blank row. and also i need to sort and group as material not
in sequence. starting row also can vary. sometimes at row 15 other time could
be 18.

item desc material qty price
1 head k123 3 45
blank row
2 shell k123 5 50
blank row
3 stiff k234 9 35
4 giant k567 4 60
5 shell k234 7 30
blank row
6 shell k123 5 60



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
In Excel, how do you copy and paste just the subtotals into anoth. mmiazga Excel Discussion (Misc queries) 4 February 13th 05 01:17 AM
I get wrong dates when i paste from a different sheet into a new s mmollat Excel Discussion (Misc queries) 2 January 6th 05 07:35 PM
copy paste cell character limit Fred Excel Discussion (Misc queries) 1 December 2nd 04 08:58 PM
copy and paste G Excel Worksheet Functions 2 November 2nd 04 01:56 AM


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