Click here to Skip to main content
11,806,575 members (66,990 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: MS-Excel macros VBA
i am working on a macro that will transfer the data from multiple workbook files with differents worksheets to one work book with 2 worksheet
Like i have 3 workbooks as
(A)sales order with coulmn
(2.) orderdate

(B) shipment

(C)third workbook delivery

with only one sheet1 with information

and i want to send the data from these file with unique key validation to fourth file called tracker
which has two sheets
1. shipment having coulmn like shipto , deliverydate , deliveryboy , quantity ,orderno not in orderly manner manner
2. ordering having coulmns orderno , orderdate , orderno
and according to name of the coulmn

i have just started vba .Please some body help me out.i am beginner in this . just know beginner stuff.

thanks you
Akshay sharma
Posted 22-Oct-12 2:20am
Edited 22-Oct-12 20:45pm
Maciej Los at 22-Oct-12 13:52pm
Please, provide more details, example data (before and after transfer).

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

One of the easiest way to learn VBA functions quickly is to use the Macro record feature of Excel thus:
  1. Select Tools -> Macro -> Record New Macro from the menu.
  2. Perform whatever functions you need in your workbooks/sheets.
  3. Press the stop recording button.
  4. Open the new macro in the editor to see the code, and modify as necessary.
aksh619 at 23-Oct-12 5:57am
i need a VBA Code..
Richard MacCutchan at 23-Oct-12 6:13am
And I have just shown you how to create it, the rest is up to you.
aksh619 at 23-Oct-12 6:17am
thanks Richard .. really appriciate your help...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Richard Deeming 205
1 Sergey Alexandrovich Kryukov 170
2 ppolymorphe 165
3 OriginalGriff 145
4 Abhinav S 120
0 OriginalGriff 3,330
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,905
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web01 | 2.8.151002.1 | Last Updated 23 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100