need simple import macro for xls file

alvbnp

Board Regular
Joined
Jun 26, 2006
Messages
180
I am trying to import from xls file using 'Import External Data' in Excel, but some data is missing. No matter what settings I tried, there will be missing data. Thus, I am seeking help for a macro to do the import. I suppose it should be a simple coding. Thanks.
 
i could not understand your real problem. this thing can be done in a simple save as copy command. or move or copy to new book...

As I mentioned, I don't want to do the copy and paste, I want to automate everything, automate import, then automate formating and so on. All using macro. I am only missing the part of import it using macro.

Anyone can help? Just a simple macro to import xls file into xls file. Thanks.
 
Upvote 0

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,215,743
Messages
6,126,605
Members
449,321
Latest member
syzer

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