A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

error: Not enough memory for VLOOKUP using external file



 
 
Thread Tools Display Modes
  #1  
Old October 5th, 2004, 01:53 PM
Trajano Roberto
external usenet poster
 
Posts: n/a
Default error: Not enough memory for VLOOKUP using external file

hi all,

we are encountering an error "Not enough memory" when we try to save
Pricing.xlt template file containing the following formula:
=VLOOKUP(B7,[_bpcs_pricing.xls]BPCS!$A1:$E$62050,2,FALSE)

we are using Microsoft Excel 97 SR-2

_bpcs_pricing.xls is an external file containing all our data
Pricing.xlt is a template file containing the following blank columns:
Item # auto increment starting from 1
Item code entered by the user
Item description retrieved by VLOOKUP from external file
List price retrieved by VLOOKUP from external file

Our goal is for the user to type an item code in Pricing.xlt, and VLOOKUP to
retrieve the respective item description and list price from
_bpcs_pricing.xls

Upon setting up Pricing.xlt and trying to save the file, the following error
message appears:
a) Not enough memory
b) Unable to save external link values

thanks in advance for any assistance

--
Trajano Roberto
P.S. we've originally posted this article under
microsoft.public.excel.worksheet.functions until we found
microsoft.public.excel.links.
we apologise for the cross post


  #2  
Old October 12th, 2004, 08:28 AM
Bill Manville
external usenet poster
 
Posts: n/a
Default

Trajano Roberto wrote:
Upon setting up Pricing.xlt and trying to save the file, the following error
message appears:
a) Not enough memory
b) Unable to save external link values


Your other post contains a possible solution.

Does your pricing file really contain 62050 rows of valid information?
If so you should be thinking about using a database table for the pricing
file. If not you should consider using a range name for just the valid
information and using the range name in your formula, e.g.
=VLOOKUP(B7,[_bpcs_pricing.xls]BPCS!PriceData,2,FALSE)

In later versions of Excel you could set up a database query for each row that
would query the database when you entered an item code. In 97 you will need
to write a macro to do the same job. It would be a Worksheet_Change event
procedure in the module behind the sheet.


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing pst file doesn't bring in my calendar and contacts Jackie Contacts 6 August 5th, 2004 02:40 AM
GPO Office 2003 Tony Setup, Installing & Configuration 1 May 12th, 2004 10:42 AM
Locked for editing??? Barbie Setting up and Configuration 1 April 27th, 2004 04:40 AM
Default File Location Derek Ruesch Setting up and Configuration 6 January 30th, 2004 03:03 AM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.