Click here to Skip to main content
15,885,920 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Example
Like i have 3 workbooks as
(A)sales order with coulmn
(1.)orderno
(2.) orderdate
(3.)shipto

(B) shipment
(1.)shipmentdate
(2.)quantity
(3.)orderno

(C)third workbook delivery
(1.)deliveryboy
(2.)deliverydate
(3.)orderno

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
Updated 22-Oct-12 20:45pm
v2
Comments
Maciej Los 22-Oct-12 13:52pm    
Please, provide more details, example data (before and after transfer).

1 solution

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.
 
Share this answer
 
Comments
aksh619 23-Oct-12 5:57am    
i need a VBA Code..
Richard MacCutchan 23-Oct-12 6:13am    
And I have just shown you how to create it, the rest is up to you.
aksh619 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900