Embed or import one excel workbook to other vba

I have a multiple workbooks which has columns to Workbook and I have standard a standard excel file. All i have to copy each workbook into standard template and save the template with cell D1 and re56yrsasz z  s,m`nbx   xsnww212 3peat the processes for all workbooks

Process in detail:

Say I have workbooks as 1.xslx; 2.xlsx; 3.xslx; etc., in a particular folder

and i have standard Excel template (Xlsm)

data from (specific columns) each workbook gets copied to excel template and save the template as cell d1 of workbook

how do I create a vba to do this?

I have found some help here but how can read all the excel workbooks?

http://officetricks.com/different-methods-to-import-data-from-external-excel-file/

hope I am clear
NirvanamanagerAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Roy CoxConnect With a Mentor Group Finance ManagerCommented:
Try this

The Output files should be in a subfolder named "Data" within the folder that the Input file is stored in.

The code will open each workbook in that subfolder & import the data
Input-File1.xlsm
0
 
Roy CoxGroup Finance ManagerCommented:
Attach an example of the source workbooks and the master workbook
0
 
NirvanamanagerAuthor Commented:
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
NirvanamanagerAuthor Commented:
Hi Roy, nothing seems to happening when i click on import. I have multiple workbooks in the source folder and i have created a folder with "data" and an excel file. when i click on it.. nothing is happening. this query is linked to the previous question i have asked. as I was able to create multiple workbooks I am posting this question

https://www.experts-exchange.com/questions/28971244/VBA-to-copy-paste-columns-form-one-file-to-other.html?anchor=a41811112#a41811112
0
 
Roy CoxGroup Finance ManagerCommented:
The code works perfectly on the sample files.  Reading the other question is that creating files for each name in the workbook?

I'm going out for an hour or so but I'll check when I get back.

I think I need to work on your previous question first.
0
 
NirvanamanagerAuthor Commented:
Sure Roy.. thanks a ton!! for all your help. please bear in mind..output is an upload template to oracle and the data needs to be pasted from row10. again thanks a lot. appreciate it a ton!!!
0
 
Roy CoxGroup Finance ManagerCommented:
I have  answered your previous question.

This code works for me here, but I think it is unnecessary now that my other code produces the files. Let me know if you need any more help.
0
 
NirvanamanagerAuthor Commented:
Simply great
0
 
Roy CoxGroup Finance ManagerCommented:
Pleased to help
1
All Courses

From novice to tech pro — start learning today.