View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Bassman62 Bassman62 is offline
external usenet poster
 
Posts: 117
Default Copy & paste table

See Ron's site for a macro solution.
http://www.rondebruin.nl/copy5.htm
http://www.rondebruin.nl/copy5_4.htm


"nc" wrote in message
...
I have the following table,

I would like to paste the data on different worksheets based on department
using macros.

Example of data,

Department Product Colour Qty Amount
History Prod1 Red 20 100
Law Prod3 Blue 10 200
Lang Prod3 Red 20 300
Design Prod4 Blue 30 100


For example, paste to worksheet History, Law, Lang and Design, maybe
different columns (it is fine if hardcoded in the macro) for the each
departments. Plus I will also need to paste the to say worksheet History1
with different columns to the worksheet History, again maybe for more than
one department.

The most efficient codes will be appreciated.