Hi Ramesh,

I think it would be good idea to attach a sample file,

Harry

On Apr 22, 7:39 pm, Ramesh Katta <kr.sap...@gmail.com> wrote:
> Hi Friends,
>
> I need to map data from one excel workbook to another excel workbook.
> I need to open the source workbook then need to create new workbook
> and some cells of data needs to be maped from source workbook to newly
> created workbook.
>
> Source workbook has one sheet (Source)
>
> newly created workbook also contains one work sheet (Dform)
>
> Some cells of source sheet data needs to be mapped into Dform sheet.
>
> The following is the Algorithm
>
> Private Sub CommandButton1_Click()
>
> GetSourceDirectory
> Getsourceworkbook
> Getsource worksheet
>
> For i = 0 To NoOfDocs
>
> Read source sheet
> Getcells
> DumpIntoTraget
> Next
> End Sub
>
> All the cells under source sheet column from following table needs to
> be mapped to the cells under Dform sheet.
>
> for example : 
> sheets("Dform").range("AP11").value=sheets("source").range("b13").value
>
> Source Sheet  Dform Sheet
> B3 è EY11
> B12 è B11
> B13 è AP11
> B14 è AQ11
> B15 è AR11
> B16 è FG11
> B17 è AS11
> B18 è G7
> B19 è BQ11
> B20 è B7
> B21 è C7
> B22 è D7
> B23 è E7
> B24 è F7
> B25 è AJ11
> B26 è AK11
> B27 è AL11
> B28 è AM11
> B29 è AN11
> B30 è BH11
> B31 è BJ11
> B32 è BL11
> B33 è BN11
> B34 è
> B35 è BO11
> B36 è CC11
> B37 è CD11
> B38 è CF11
> B40 è C11
> B41 è D11
> B42 è BE11
> B43 è BF11
> B44 è BG11
> B45 è E11
> B46 è BB11
> B47 è BC11
> B48 è BD11
> B49 è F11
> B50 è AU11
> B51 è AV11
> B52 è AW11
> B53 è AX11
> B54 è AY11
> B55 è AZ11
> B56 è DU11
> B57 è DZ11
> B58 è EC11
> B59 è DV11
> B60 è DX11
> B61 è DW11
> B62 è DY11
> B63 è EK11
> B64 è ER11
> B65 è BZ11
> B66 è CA11
> B67 è AH11
> B68 è FB11
> B69 è EO11
> B70 è EP11
> B71 è EN11
> B72 è ED11
> B73 è EE11
> B74 è EH11
> B75 è EF11
> B76 è EG11
> B77 è B9
> B78 è C9
> B79 è D9
> B80 è E9
> B81 è EL11
> B82 è EX11
> B83 è FC11
> B84 è B2
> B85 è C2
> B86 è D2
> B87 è ES11
> B88 è ET11
> B89 è EU11
> B90 è EV11
> B91 è EW11
> B92 è B6
> B93 è C6
> B94 è D6
> B95 è E6
> B96 è B5
> B97 è C5
> B98 è D5
> B99 è E5
> B100 è F5
> B101 è G11
> B102 è H11
> B103 è I11
> B104 è L11
> B105 è J11
> B106 è K11
> B107 è
> B108 è CB11
> B109 è M11
> B110 è Q11
> B111 è U11
> B112 è Y11
> B113 è FD11
> B114 è FF11
> B115 è C1
> B116 è B3
> B117 è C3
> B118 è D3
> B119 è E1
> B120 è B1
> B121 è C1
> B122 è D1
> B123 è E1
> B124 è B12
> B125 è C12
> B126 è D12
> B127 è E12
> B128 è F12
> B129 è G12
> B130 è H12
> B131 è I12
> B132 è J12
> B133 è K12
> B134 è L12
>
> I need to map nearly 2000 source files into Dform files. Please kindly
> provide the macro or logic to complete this task.
>
> Thanks & Regards
> Ramesh
>
> --
> ---------------------------------------------------------------------------­-------
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links 
> :http://twitter.com/exceldailytip
> 2. Join our LinkedIN group @http://www.linkedin.com/groups?gid=1871310
> 3. Excel tutorials athttp://www.excel-macros.blogspot.com
> 4. Learn VBA Macros athttp://www.quickvba.blogspot.com
> 5. Excel Tips and Tricks athttp://exceldailytip.blogspot.com
>
> To post to this group, send email to excel-macros@googlegroups.com
>
> <><><><><><><><><><><><><><><><><><><><><><>
> HELP US GROW !!
>
> We reach over 6,800 subscribers worldwide and receive many nice notes about 
> the learning and support from the group.Let friends and co-workers know they 
> can subscribe to group athttp://groups.google.com/group/excel-macros/subscribe

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,800 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

Reply via email to