Click here to Skip to main content
11,573,408 members (59,518 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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
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 22-Oct-12 2:20am
aksh619297
Edited 22-Oct-12 20:45pm
v2
Comments
Maciej Los at 22-Oct-12 13:52pm
   
Please, provide more details, example data (before and after transfer).

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
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


Advertise | Privacy | Mobile
Web04 | 2.8.150624.2 | 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