VBA: Copy and Paste

knightofni

New Member
Joined
Sep 22, 2010
Messages
12
:confused: Hello,

This is my first attempt at inserting HTML into a post so I hope I've done it correctly!


I need to do the following:
  • Open project workbooks using the details in column A (there are 53 files that need to be open and are all stored in separate folders, they are project documents so cannot be combined into one mass folder)
  • Look for "@" in cell H1 in the newly open workbook
  • If present return "Complete in" Master Workbook column B then,
  • Copy a range in the open project workbook and paste into range in Master Workbook. Finally,
  • Close project workbooks.
I have tried numberous different Open, Copy and Paste codes I've found in forums but none seem to work and I feel as though I am stuck in a continual loop!

Any assistance that could be provided would be greatly appreciated.

Many Thanks


Excel Workbook
ABCDE
1File LocationPID Complete?
2\\Server\Subfolder1\Subfolder2\Subfolder3\Subfolder4\Supfolder5\File.xls1
3
4
5
6
7
8
9
10
11
12
13ActionStart DateEnd Date
14
15
16
17
18
Combine Sheet
Excel 2003
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,223,237
Messages
6,170,930
Members
452,367
Latest member
TePunaBloke

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