Copy/PasteLink based on Match

lse

New Member
Joined
Feb 22, 2007
Messages
20
Hi - I'm new to VBA and having difficulty with the attached VBA.

I have a master sheet named "ScopeReq. Matrix". Each task on the master sheet has a department name (located in C:C) which handles the task. Each department can handle a numer of tasks.

I created a separate sheet for each department. Now I would like to have a code that looks at the master sheet matches the department in Column C to the name of the worksheet, copy the tasks and paste link. The past link allows each department team to update their indivdual sheet, sort it any way they like and still maintain the data on the master sheet.

Here is what I have so far, but it's not working. Is this even possible?

Thanks for your help.
-------------------------------
If (Worksheets.Name = "C:C") Then
Sheets("ScopeReq. Matrix").Select
Copy Range.Select = Column("C:C")
Selection.Copy
Sheets("ASD").Select
Range("A1").Select
ActiveSheet.PasteLink
End Sub
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,214,819
Messages
6,121,749
Members
449,050
Latest member
excelknuckles

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