Page 1
Page 1
Started By
Message

What kind of VBA experts do we have here?

Posted on 5/28/14 at 8:24 am
Posted by DirtyMikeandtheBoys
Member since May 2011
19419 posts
Posted on 5/28/14 at 8:24 am
Here's what I've got: 2 workbooks 1. WB1.xlsm <-- book with macro 2. WB2.xlsx

In wb1 I have a range - B8:B38, that could have anywhere from no valued cells to 30 valued cells (value will be variable Txt)

I need a macro that will search this range for all of it's values, then find the matching value in range - A2:A1000 of WB2 and transpose data from WB2 into WB1

Example: WB1: Cell B8 = AXXX
WB2: Cell A5 = AXXX
Copy Range - B5:U5 from WB2
Paste Range - B5:U5(corresponds to row 5, of A5 above) from WB2 into range C8:V8(corresponds to row 8, of B8 above) in WB1
repeat for all cells in range B8:B38 that contain a value
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram