Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Nic Nic is offline
external usenet poster
 
Posts: 25
Default Macro or excelfunctions

Hey,

I have a problem in Excel and I think I have to write a Macro for that. But
I have no experience in VBA.

Maybe someone can help me out..

I have two sheets (A and B). I have too match these sheets on the base of
some columns. If the columns match then I want to cut the whole line out of
sheet B and paste it after the matched column in sheet A.

Example
Sheet A Sheet B

1 AA X1 4 BLA VLE K5
2 BB D2 6 GGG JJJ L9
3 CC V5 2 HJH HJH D2
4 FF K5

SheetA.Colum1 = SheetB.Column1 and SheetA.column3 = sheetB.column4

Results
Sheet A SheetB
1 AA X1 6 GGG JJJ L9
2 BB D2 2 HJH HJH D2
3 CC V5
4 FF K5 4 BLA VLE K5


Thanks a lot
Nic
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 recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
How to end macro on inital active worksheet containing macro button that was clicked Silverhawk1 Excel Programming 2 May 14th 04 03:58 PM
macro to delete entire rows when column A is blank ...a quick macro vikram Excel Programming 4 May 3rd 04 08:45 PM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


All times are GMT +1. The time now is 04:58 PM.

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"