Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Transfer data by defined name

Hello,
How do I copy a range of data (defined as "abc") to another worksheet (start
from cell c3, for example) in the same workbook by the Defined Name "abc".

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Transfer data by defined name

Hi Choo,

Try:

'=============
Public Sub Tester()
With ActiveWorkbook
.Sheets("Sheet1").Range("abc").Copy Destination:= _
.Sheets("Sheet2").Range("C3")
End With
End Sub
'<<=============


---
Regards,
Norman


"choo" wrote in message
...
Hello,
How do I copy a range of data (defined as "abc") to another worksheet
(start
from cell c3, for example) in the same workbook by the Defined Name "abc".

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default Transfer data by defined name

If you know the size of the range:
sheet2.range("C3:C6") = sheet1.range("MyRange")

If you don't know the size of the range:
For each cell in sheet1.range("MyRange")
sheet2.cells(3+cell.row,3+cell.column) = cell.value
Next cell

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
auto transfer data in sheet2 (selected data) deen Excel Worksheet Functions 1 May 9th 08 01:57 PM
Transfer Excel data into Word, including text box data Sarah (OGI) Excel Discussion (Misc queries) 0 July 13th 07 10:06 AM
User defined buttons in Toolbars,transfer to another computer marko Excel Discussion (Misc queries) 2 December 13th 05 07:22 PM
Transfer Data from Excel 2000 to the Access data base André Lavoie Excel Programming 1 September 28th 05 03:22 PM
User-defined data type; Error: Only User-defined types... tiger_PRM Excel Programming 1 July 18th 04 03:32 PM


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

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

About Us

"It's about Microsoft Excel"