#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 132
Default Macro

Hi All

I want to create a macro that moves the data which is in the format of
Origen Sheet 1 to Destination Sheet 2. Basically, the data in colum B will
be headings of columms in the destination sheet. All the data with code OPN
will have to be placed in the columm below the heading OPN. The same
situation with code CLS.

Is it posible to do with a macro or there is other easier way to do it?

Origen Sheet1
A B C

1 100500 OPN 10/30/07 15:20
2 100503 OPN 10/31/07 18:30
3 100508 OPN 10/24/07 12:03
4 100500 CLS 10/30/07 15:40
5 100003 CLS 10/25/07 11:30
6 100508 CLS 10/13/07 19:50



Destination Sheet 2
A B C D
CODE OPN CODE CLS
1 100500 10/30/07 15:20 100500 10/30/07 15:40
2 100503 10/31/07 18:30 100003 10/25/07 11:30
3 100508 10/24/07 12:03 100508 10/13/07 19:50


Thanks in advance for your help.

Orquidea
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 Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 1 February 5th 07 09:31 PM
using a cell value to control a counter inside a macro and displaying macro value ocset Excel Worksheet Functions 1 September 10th 06 05:32 AM
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 1 June 11th 05 12:44 AM
Macro needed to Paste Values and prevent Macro operation thunderfoot Excel Discussion (Misc queries) 0 June 10th 05 03:38 PM


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