#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Range Names

It is possible to define a range in one work book then copy it and paste it
into another work book without having to redefine the range?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Range Names

Rich,

The following will copy and paste from one book to another. Just substitute
the correct names for the workbooks, worksheets, and range name.

Note that there is no select instruction needed.

'''''''''''''''''
Workbooks("MyBook1.xls").Sheets("MySheet1").Range( "MyRange").Copy _
Destination:=Workbooks("Book2").Sheets("Sheet1").R ange("B5")
''''''''''''''''''

hth
--

steveB

(Remove 'NOSPAM' from email address if contacting me direct)


"Rich Cooper" wrote in message
...
It is possible to define a range in one work book then copy it and paste

it
into another work book without having to redefine the range?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default Range Names

Create a new worksheet. Use Insert | Name Paste... | Paste List
button to get all the names into that worksheet starting with cell A1.
Move the worksheet over to the new workbook. Use the code I posted in
the discussion at http://www.mrexcel.com/board2/viewtopic.php?p=431798#
431798 to create the names in the new workbook.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
It is possible to define a range in one work book then copy it and paste it
into another work book without having to redefine the range?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting email address names in a range of cells to real names John Excel Worksheet Functions 1 May 19th 10 03:44 PM
How to Delete blanks between a range and populate only the names inthe given range Yuvraj Excel Discussion (Misc queries) 2 November 4th 09 08:32 PM
COPYING FORMULA CONTAINING NAMES/RELATIVE RANGE NAMES Bricol Excel Discussion (Misc queries) 0 July 8th 08 03:54 PM
Selecting range in list of range names depending on a cell informa Courreges Excel Discussion (Misc queries) 2 June 19th 06 10:59 AM
range names Pedro Excel Worksheet Functions 1 November 9th 04 06:27 PM


All times are GMT +1. The time now is 04:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"