Re: VBA lookup into large database
- From: "Charles Williams" <Charles@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 24 Mar 2006 17:16:06 -0000
Could you post the chunk of code that does the VLookup?
(I dont see why it should be consuming all available memory, perhaps I have
misunderstood what you are doing).
Did you look at the method on
http://www.decisionmodels.com/optspeede.htm#Speed_Lookups
for doing efficient exact match on sorted data?
Charles
______________________
Decision Models
FastExcel 2.2 Beta now available
www.DecisionModels.com
"erikhs" <erikhs.256kkr_1143214820.736@xxxxxxxxxxxxxxxxxxxxx> wrote in
message news:erikhs.256kkr_1143214820.736@xxxxxxxxxxxxxxxxxxxxxxxx
Thank you very much for the quick reply.
I need to make an excact match as the codes can be very similar, and it
is important to get the correct information.
The database is frequently updated by others than mysekf, so it is not
possible to keep it in the same work***.
I will perhaps based on you reply, try to import one of the columns
most used into a template of a sort and try to sort, and use avlookup
perhaps. Are you aware of any array functions that might do the trick.
I must add that the lookup is not generally a problem if performed
manually, but in VBA it consumes all available memory.
--
erikhs
------------------------------------------------------------------------
erikhs's Profile:
http://www.excelforum.com/member.php?action=getinfo&userid=32788
View this thread: http://www.excelforum.com/showthread.php?threadid=526101
.
- Follow-Ups:
- Re: VBA lookup into large database
- From: erikhs
- Re: VBA lookup into large database
- References:
- VBA lookup into large database
- From: erikhs
- Re: VBA lookup into large database
- From: Charles Williams
- Re: VBA lookup into large database
- From: erikhs
- VBA lookup into large database
- Prev by Date: Re: error in code: capitalize first letter of a word
- Next by Date: Re: error in code: capitalize first letter of a word
- Previous by thread: Re: VBA lookup into large database
- Next by thread: Re: VBA lookup into large database
- Index(es):