PC Review


Reply
Thread Tools Rate Thread

Copying from another worksheet

 
 
Wayne26el
Guest
Posts: n/a
 
      19th May 2009
I have an excel worksheet which has a reference to another sheet (='Order
Numbers'!E448) I want to be able to replace the row number “448” with number
that I would put in. I would leave the column designation as is. How can I
accomplish this?
Wayne

 
Reply With Quote
 
 
 
 
Patrick Molloy
Guest
Posts: n/a
 
      19th May 2009
if this is a spreadsheet function then you could use

=INDIRECT("'Order Numbers'!E" & B3)
where Cell B3 has the row number, ie :=448

In VBA you could pass it as a parameter ...

DIM Cell As Range
DIM rownum As LONG
rownum = 448
SET Cell = Cells(rownum,"E")

"Wayne26el" <(E-Mail Removed)> wrote in message
news:363B7187-B913-48C4-8108-(E-Mail Removed)...
> I have an excel worksheet which has a reference to another sheet (='Order
> Numbers'!E448) I want to be able to replace the row number “448” with
> number
> that I would put in. I would leave the column designation as is. How can I
> accomplish this?
> Wayne
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      19th May 2009
=INDIRECT("'Order Numbers'!E" & B1)

Enter a number in B1


Gord Dibben MS Excel MVP

On Tue, 19 May 2009 11:16:04 -0700, Wayne26el
<(E-Mail Removed)> wrote:

>I have an excel worksheet which has a reference to another sheet (='Order
>Numbers'!E448) I want to be able to replace the row number 448 with number
>that I would put in. I would leave the column designation as is. How can I
>accomplish this?
>Wayne


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      19th May 2009
=index('order numbers'!e:e,a1)
where a1 contained that number

or with minor validity:

=if(a1="","",index('order numbers'!e:e,a1))



Wayne26el wrote:
>
> I have an excel worksheet which has a reference to another sheet (='Order
> Numbers'!E448) I want to be able to replace the row number “448” with number
> that I would put in. I would leave the column designation as is. How can I
> accomplish this?
> Wayne


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying a worksheet witrh protected cells to a new worksheet =?Utf-8?B?Sm9obg==?= Microsoft Excel Worksheet Functions 1 1st Feb 2006 02:19 PM
Re: Copying a worksheet witrh protected cells to a new worksheet Tiscali NewsGroup Microsoft Excel Worksheet Functions 0 31st Jan 2006 11:11 PM
Copying worksheet and pasting on new worksheet, it makes page bre =?Utf-8?B?ZXhjZWwgcXVlc3Rpb24=?= Microsoft Excel Worksheet Functions 2 24th Oct 2004 12:41 AM
Copying Worksheet triggers Click event of combobox on another worksheet Robert Microsoft Excel Programming 0 23rd Jan 2004 07:40 PM
Copying a Carry Forward Balance from Worksheet to Worksheet =?Utf-8?B?Sm8tRlQ=?= Microsoft Excel Misc 1 24th Oct 2003 07:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:40 AM.