Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default Solver and Excel 2003

I am getting the following message with Excel 2003
Solver: An unexpected internal error occurred, or
available memory was exhausted
and I'm running under Windows 2000

I didn't get it with Excel 2000.
The VBA code references Solver,
and the error occurs for the SolverOK call, viz.

SOLVER.VBA_Functions.SolverOk SetCell:="$C$38",
MaxMinVal:=2, ValueOf:="0", _
ByChange:="$F$39,$F$40,$F$41"

Prior SolverAdd calls don't raise errors.
If I start a Solver seesion within the workbook from the
Tools menu, then run the VBA code, the problem goes away,
even if I just cancel the dialog box.

Has anyone a work-around ?
TIA
Kevin Beckham
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default Solver and Excel 2003

The following code needs to be inserted before any call
to Solver (confirmed) or added to Workbook_Open
(unconfirmed)

If Not SOLVER.AutoOpened Then
SOLVER.Auto_open
End If

Kevin Beckham

-----Original Message-----
I am getting the following message with Excel 2003
Solver: An unexpected internal error occurred, or
available memory was exhausted
and I'm running under Windows 2000

I didn't get it with Excel 2000.
The VBA code references Solver,
and the error occurs for the SolverOK call, viz.

SOLVER.VBA_Functions.SolverOk SetCell:="$C$38",
MaxMinVal:=2, ValueOf:="0", _
ByChange:="$F$39,$F$40,$F$41"

Prior SolverAdd calls don't raise errors.
If I start a Solver seesion within the workbook from the
Tools menu, then run the VBA code, the problem goes away,
even if I just cancel the dialog box.

Has anyone a work-around ?
TIA
Kevin Beckham
.

Reply
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
Excel 2003 + Solver xxsawer Excel Worksheet Functions 3 December 8th 09 10:20 AM
how do you use solver in excel 2003 Larry Orange Excel Discussion (Misc queries) 3 November 3rd 06 01:35 PM
How can I install Excel Solver without the Office 2003 disk? Steph Excel Worksheet Functions 3 September 22nd 06 07:35 PM
Excel 2003 + Solver + C# Jens Thiel[_2_] Excel Programming 0 December 4th 03 03:59 PM
Excel 2003 + Solver + C# David Excel Programming 0 December 4th 03 03:50 PM


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

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

About Us

"It's about Microsoft Excel"