LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Vlookup with 8 sheets-please help!

I have thought about your question for a while. I believe the easiest route
to go would be to write a macro that just simply copies and pastes a Vlookup
formula into cells AL:BA into the sheet every quarter. That way, you are
guaranteed to have 5,000 records before and after, and not have to do any
copying or writing of formulas by hand. IT should be pretty simple. Let me
know if you need help with this.

Kou

exp: (Similiar to this code)

With Worksheets("Original").activate
range("al2").forumla= "=vlookup(b2,'quarter!'al2:'quarter!'ba2,1,fal se)
range("al2").select
selection.copy
range("am2:ba2").pastespecial xlpasteformulas
Application.cutcopymode = false
range("al2:ba2").select
selection.autofill destination:=range("al2:ba5000"), type:=xlfilldefault
end with


 
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
Vlookup from different sheets Radhakant Panigrahi Excel Worksheet Functions 2 May 31st 10 01:38 PM
vlookup 3 sheets Ben Excel Worksheet Functions 1 March 8th 10 03:06 AM
Vlookup using different sheets Cpt. Costanzo Excel Discussion (Misc queries) 3 June 17th 09 04:41 PM
VLookup from many sheets Byron720 Excel Discussion (Misc queries) 0 January 23rd 08 01:47 AM
VLOOKUP Between Sheets MB Excel Worksheet Functions 3 October 20th 06 05:03 PM


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