Solved

copy values from a name range

Posted on 2014-09-18
3
114 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 250 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 46

Assisted Solution

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

813 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now