range = range

  • Thread starter Thread starter MattShoreson
  • Start date Start date
M

MattShoreson

Working on the same principle sheet1.cell A1 = sheet2.cell A1

is there a way of doing: sheet1.namedRange1 = sheet2.namedrange2
and populating all cells with all values in the range?
 
in principle yes.

If the Name objects resolve to Ranges
(ofcourse names can also hold formulas and constants)
and it helps if the named ranges have same size.

Also note you need different syntax
a named range cannot use "tunneling" syntax.
Range("sheet1!mydst").value = Range("sheet3!mysrc").value

Be aware that names can be defined at workbook level
and at worksheet level.

When you work with names (or plan to)
download NameManager addin.
http://www.oaltd.co.uk/MVP/Default.htm


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


MattShoreson wrote :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top