Go Premium for a chance to win a PS4. Enter to Win

x
Solved

# copy values from a name range

Posted on 2014-09-18
Medium Priority
123 Views
i am copying values from a named range to a different worksheet in the cam workbook.how do i prevent the name range from copying.(duplicate name ranges). thanks
0
Question by:Svgmassive
• 2

LVL 15

Accepted Solution

Haris Djulic earned 1000 total points
ID: 40330118
Hello,

when pasting values are you using paste special values only or something else?

can you try this:

``````Worksheets("Sheet_name").Range("Range").PasteSpecial xlPasteValues
``````
0

LVL 49

Assisted Solution

Martin Liss earned 1000 total points
ID: 40330464
Or this which copies a named range called "test" which resides on Sheet1, to column "A" on sheet2 starting in cell A1.

``````Sheets("Sheet1").Range("test").Copy Sheets("Sheet2").Range("A1")
``````
0

LVL 49

Expert Comment

ID: 40333017
I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaacâ€¦
###### Suggested Courses
Course of the Month13 days, 6 hours left to enroll