Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy to destination of "A50" + value in I12 (sequence#) A51,A52

I amy trying to copy the current value of a row from one worksheet (Data
validated list) to another worksheet. The first time the destination is
"A50", the second time has to be "A51" so as not to overwrite previous copy.
In cell I12 is the selected sequence number to assist (1,2,3,4,5...)but I
cant figure out how to use the value in I12 to advance the destination from
A50 plus that value.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default Copy to destination of "A50" + value in I12 (sequence#) A51,A52

GeekRN,

Try this as your copy destination:

Range("A" & 50 + Range("I12").Value)



--
Hope that helps.

Vergel Adriano


"GeekRN" wrote:

I amy trying to copy the current value of a row from one worksheet (Data
validated list) to another worksheet. The first time the destination is
"A50", the second time has to be "A51" so as not to overwrite previous copy.
In cell I12 is the selected sequence number to assist (1,2,3,4,5...)but I
cant figure out how to use the value in I12 to advance the destination from
A50 plus that value.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Copy to destination of "A50" + value in I12 (sequence#) A51,A52

Dim myDest As Range
Set myDest = Worksheets("Sheet2 Name").Range("A50").Offset(Worksheets("Sheet2
Name").Range("I12").Value,0)
Worksheets("Sheet2 Name").Range("whatever").Copy myDest

HTH,
Bernie
MS Excel MVP


"GeekRN" wrote in message
...
I amy trying to copy the current value of a row from one worksheet (Data
validated list) to another worksheet. The first time the destination is
"A50", the second time has to be "A51" so as not to overwrite previous copy.
In cell I12 is the selected sequence number to assist (1,2,3,4,5...)but I
cant figure out how to use the value in I12 to advance the destination from
A50 plus that value.



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
Multiple "source" workbooks linked to single "destination" workboo DAVEJAY Excel Worksheet Functions 1 September 17th 07 05:33 PM
Range("B2").AutoFill Destination:=Range("GX1", ActiveCell) ... Fails but why? [email protected] Excel Programming 2 March 13th 07 12:10 PM
Range("B2").AutoFill Destination:=Range("GX1", ActiveCell) ... Fails but why? [email protected] Excel Programming 0 March 13th 07 02:22 AM
Range("B2").AutoFill Destination:=Range("GX1", ActiveCell) ... Fails but why? [email protected] Excel Programming 0 March 13th 07 02:16 AM
How to set a default paste option of "Match Destination Format" John H @ EBR Excel Discussion (Misc queries) 1 April 17th 06 09:59 PM


All times are GMT +1. The time now is 03:50 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"