[need help]Copy cells from columns to another columns in another workbook

pangpol17

New Member
Joined
Apr 15, 2011
Messages
2
Hi everyone, I need help from all Excel Masters to help me out in the vba code of this problem.

I have data from book1, in column B,
I want to copy that data book2, column B

example, I have data in book1, cells B5 to B100
I want to copy it to book2, cells B5 to B100

I have many files with this kind of style,
So, it may contains 10, 20 till 100 cells data
Is it possible to detect the cells that contains data?

29667433.png


Please help me to solve this problem.
Any help would be highly appreciated.
Thanks in advance.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
can you not do this

right click the tab of sheet 1 in first workbook
click "move or coy"
check "create a copy at the bottom)
click the arrow at the top under "to book"
choose new book
click OK

the sheet 1 is copied as it is (including blanks and data) in the other workbook
the copied sheet name also will be the same, if you want change sheet name
 
Upvote 0
Thanks for your help venkat1926,

But I have different style of tables in each workbook



Uploaded with ImageShack.us

SO it will detect data in workbook 1 and copy with a trigger/button to copy data to workbook 2.

Is it possible?

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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