LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Repost of VBA Code/Lookup question

Sorry if this is showing twice, I could see my question last week but now I
can't find it anywhere???

I am trying to do this:
Value of A1 on sheet 1 will match the value of either D1,E1,F1...P1 of sheet 2
Assuming it matches E1, I want to copy E2:E52 of sheet 2 over to B1:B51 of
sheet 1

I don't think it matters but in case it does, the value that will be in A1
is actually {='sheet 3'!B3} and in my example above E1 would also be {='sheet
3'!B3}

So I should always have an exclusive, exact match but I can't get the
wording right. Can I even do this? If I have to I can replace my A1 and
D-P1's with text but I would rather not so that I can add duplicate sheets to
the Workbook (Values of D1 through P1 each has a ws of same name) with
minimal or no editing of the macro.

Please HELP!?!?
--
THANKS!

Steve
 
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
VB Code Question Stan Excel Discussion (Misc queries) 6 April 30th 07 11:27 PM
VBA code question JEV Excel Discussion (Misc queries) 2 March 1st 07 06:02 PM
Post code lookup Paul Williams Excel Worksheet Functions 5 November 23rd 06 08:25 PM
Zip Code Lookup Add-in GoFigure Excel Discussion (Misc queries) 12 February 20th 06 08:36 PM
Code to 'lookup' value in Access database maacmaac Excel Discussion (Misc queries) 0 September 16th 05 02:52 AM


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