Excel-Macro: Paste Link to a new worksheet (Run-time error '424': Object required)

dieserhering

New Member
Joined
Mar 24, 2017
Messages
1
Hey,

I am currently working on a macro for duplicating a worksheet and pasting specific values from it into a new column of a remaining worksheet. However, whenever I try to paste link specific values to another worksheet, I receive the message 'Run-time error '424': Object required'. This is the whole macro code for the paste link:

Sub Macro17()
'
' Macro17 Macro
'


'
Range("C6:C18").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Feedback Tracker").Select
ThemeEffectScheme.Paste Link:=True
EndSub



When I press the debug button, excel highlights the following line: 'ThemeEffectScheme.Paste Link:=True'
Does anyone know how to fix that issue? Thank you so much in advance!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
The macro shown doesn't include Dim or Set lines for ThemeEffectScheme.
Assuming that
ThemeEffectScheme is the name of the worksheet, you need to add these two lines to the start of your macro:

Dim T
hemeEffectScheme As Worksheet
Set
ThemeEffectScheme = Sheets("ThemeEffectScheme")

 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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