Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bungie
 
Posts: n/a
Default Looping between sheets picking up values on the way

I have been on a bit of a learning curve, Excel, Access, but VB has got me
lost. Any ideas how I might go about the following please??

I have two sheets, sheet1, and sheet2.
In sheet1 at cell B1 I need to copy the numeric value, go to sheet2 find the
value in one of the cells. Then move two cells to right of it, and copy that
cell value. Move back to sheet1 select the cell D1 and paste.
Then move to B2 copy the numeric value, go to sheet2 find the value in one
of the cells. Then move two cells to right of it, and copy that cell value.
Move back to sheet1 select the cell D2 and paste.
Then keep looping until I hit an empty B cell in sheet1


Somebody please point me in the right direction

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default Looping between sheets picking up values on the way

You can do that with a VLOOKUP formula in column D.
See example http://cjoint.com/?demnBih7zj
& Excel help on VLOOKUP

HTH
--
AP

"bungie" a écrit dans le message de
...
I have been on a bit of a learning curve, Excel, Access, but VB has got me
lost. Any idea's how I might go about the following please??

I have two sheets, sheet1, and sheet2.
In sheet1 at cell B1 I need to copy the numeric value, go to sheet2 find

the
value in one of the cells. Then move two cells to right of it, and copy

that
cell value. Move back to sheet1 select the cell D1 and paste.
Then move to B2 copy the numeric value, go to sheet2 find the value in one
of the cells. Then move two cells to right of it, and copy that cell

value.
Move back to sheet1 select the cell D2 and paste.
Then keep looping until I hit an empty B cell in sheet1


Somebody please point me in the right direction



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bungie
 
Posts: n/a
Default Looping between sheets picking up values on the way

Ardus,
Thanks a lot, typical newbie I was looking at it the hard way. Trying to
move the active cell around, copying and pasting as it went. The way you
pointed out works perfect.

Again Thanks,

Bungie

"Ardus Petus" wrote:

You can do that with a VLOOKUP formula in column D.
See example http://cjoint.com/?demnBih7zj
& Excel help on VLOOKUP

HTH
--
AP

"bungie" a écrit dans le message de
...
I have been on a bit of a learning curve, Excel, Access, but VB has got me
lost. Any idea's how I might go about the following please??

I have two sheets, sheet1, and sheet2.
In sheet1 at cell B1 I need to copy the numeric value, go to sheet2 find

the
value in one of the cells. Then move two cells to right of it, and copy

that
cell value. Move back to sheet1 select the cell D1 and paste.
Then move to B2 copy the numeric value, go to sheet2 find the value in one
of the cells. Then move two cells to right of it, and copy that cell

value.
Move back to sheet1 select the cell D2 and paste.
Then keep looping until I hit an empty B cell in sheet1


Somebody please point me in the right direction




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default Looping between sheets picking up values on the way

Thanks for the feedbacl

--
AP

"bungie" a écrit dans le message de
...
Ardus,
Thanks a lot, typical newbie I was looking at it the hard way. Trying to
move the active cell around, copying and pasting as it went. The way you
pointed out works perfect.

Again Thanks,

Bungie

"Ardus Petus" wrote:

You can do that with a VLOOKUP formula in column D.
See example http://cjoint.com/?demnBih7zj
& Excel help on VLOOKUP

HTH
--
AP

"bungie" a écrit dans le message de
...
I have been on a bit of a learning curve, Excel, Access, but VB has

got me
lost. Any idea's how I might go about the following please??

I have two sheets, sheet1, and sheet2.
In sheet1 at cell B1 I need to copy the numeric value, go to sheet2

find
the
value in one of the cells. Then move two cells to right of it, and

copy
that
cell value. Move back to sheet1 select the cell D1 and paste.
Then move to B2 copy the numeric value, go to sheet2 find the value in

one
of the cells. Then move two cells to right of it, and copy that cell

value.
Move back to sheet1 select the cell D2 and paste.
Then keep looping until I hit an empty B cell in sheet1


Somebody please point me in the right direction






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
exchanging values amoung sheets havey Excel Worksheet Functions 4 February 25th 06 04:05 AM
Formulas not recalculating when values change on another sheet Bill Excel Worksheet Functions 0 September 15th 05 10:29 PM
Picking Values from a list babygoode Excel Worksheet Functions 4 September 2nd 05 03:20 PM
Formating Sheets made in Code Jenn Excel Discussion (Misc queries) 1 August 22nd 05 05:19 PM
Second serie doesn't use X-as values JackRnl Charts and Charting in Excel 1 January 20th 05 01:04 AM


All times are GMT +1. The time now is 07:29 PM.

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"