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
3
Medium Priority
?
123 Views
Last Modified: 2014-09-19
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
Comment
Question by:Svgmassive
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
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

Open in new window

0
 
LVL 49

Assisted Solution

by:Martin Liss
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")

Open in new window

0
 
LVL 49

Expert Comment

by:Martin Liss
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question