Macro to import list automatically from a workbook to another workbook

danish6061

New Member
Joined
Mar 16, 2020
Messages
44
Office Version
  1. 2016
Platform
  1. Windows
I have 2 workbooks with various columns I want to import some columns automatically from workbook A to workbook B. Is it possible?
 
OK, I understood. I applied all your steps as told and at last i saved both workbooks as macro enabled workbook and then closing it
but when i am reopening these workbooks then it shows at the top that "Macros have been disabled"
What am I missing or what should I do?
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
You should see an option that will allow you to permit the macros to run in the workbook. This will happen each time you open the workbook.
Mel
 
Upvote 0
If you post sample data from the workbook you wish to copy and indicate what is to be imported (pasted) to the second workbook, I am sure we can assist with specific code. Use the XL2BB function provided at this site to copy and paste to the forum. Help us to help you by providing us with specific details. Your request is very vague so try to be specific.
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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