VBA and Excel 97 on NT4  out of space

Posted on 1998-09-16
Medium Priority
Last Modified: 2010-04-30
I find I have encountered some sort of memory boundary.
When I run a VBA script ,I get the message- something close to
 "Instruction at addr. ref memory at ox0e18 could
not be read."
THis message dissappears if I reduce the size of
several arrays which I need.
Question: is there some way to increase Excel's
resources so that I can run a bigger
VBA script.
Question by:mbarron

Accepted Solution

fguerreiro_inix earned 400 total points
ID: 1435232
Make an activeX exe with your VB scrips and add the reference to it. An activeX exe runs in a separate space of memory.

Author Comment

ID: 1435233
How do I access this ActiveX exe, which I assume I create in
VB. Do I then write a "shell" vba script which somehow
references this ActiveX exe, and then run the "shell"
vba script as before, but with the guts removed from
the VBA script? Please, you can be very brief. I just need
a pointer or two. Many thanks. Mark

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question