VBA Macro calling different workbooks

MattWieneke

New Member
Joined
Aug 19, 2010
Messages
5
Whats up fellow excelians,

I am somewhat new to VBA and excel and have a question that may test the mite and knowledge of every member to this site.

My end result goal is to write a macro that will take the contents of a cell in one workbook and uses that input to find a file name matching the forementioned cell input and copy six columns and many rows from the found workbook called upon and pastes that data as values into the workbook that has the user input in it.

Step by step:
INput XYZ into cell input cell located in workbook "Auto"
Find file name XYZ
Open file name XYZ
Copy Data
Paste special values into workbook auto

all of this is supposed to be done by typing the input and running the macro

Please answer this thread if there are any of you upto this challenge, this will save me hours a day!
 

Some videos you may like

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Watch MrExcel Video

Forum statistics

Threads
1,122,519
Messages
5,596,635
Members
414,083
Latest member
Mrsash

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
Top