Problem in Macro

jitsaha

New Member
Joined
Apr 20, 2016
Messages
4
Hii all, I am a newbie in the field of Macro writing.I am facing a problem while writing a macro.

I have a folder containing some excel files.I have to copy a particular range from all files and append that part to another excel file with 1 row gaps each time.

Suppose I have to copy A25:M39 of Sheet 1 of all files and paste that part with the formatting in tact to another excel file starting from B2.2nd file contents will be pasted in the same output file after 1 row gap.

Like if the 1st file content starts at B26 and ends at N40,next file contents will be pasted starting at B42.

Please help me regarding this. Waiting for your kind reply.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
many many posts in the forum with exactly that need, effectively the question is answered, just need to pick out the bits you want to use and replicate that
 
Upvote 0
many many posts in the forum with exactly that need, effectively the question is answered, just need to pick out the bits you want to use and replicate that


I am absolutely new to the forum,just joined today.Can you please help me find out the related posts or send me the macro for this one so that I can modify if any new requirement comes??

Thanks in advance.
 
Upvote 0
go here
> Advanced Search - MrExcel Message Board

Search for > Keywords > copy from files > Search Now

and you get pages of answers, I can't choose which suits your need, once you find something close to what you need, tell us what you need and related to the code and it probably can be tweaked.

You'll need to think about directory paths, file names, sheet names, identical data areas, what is common for each that you will process
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,021
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top