Macro copying from files with different names

TheIntern

New Member
Joined
Mar 15, 2011
Messages
30
Hello everyone,

I want a Macro to copy into a specific file out of another one. The problem is that the other file changes, every new version has another name.
I thought about including a cell in the target file, in which the user can type the name of the file and the macro should use this information to copy out of this file.
Is there any possiblity to do so?
Perhaps with Dim copy as ??

Thanks in advance,

The Intern
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I just read my question and I think it is a bit difficult to understand^^
Thast wy I want to provide some further information:
I want to copy from one workbook into workbook A. The problem is that I don't know the name of workbook which is the source. Thats why I want to include this cell in workbook A, where you can type the name of the source-file. The macro, running in workbook A, should take the name out of the cell automaticly and copy from the workbook with this specific name.
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,894
Members
452,948
Latest member
Dupuhini

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