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

Hi all,
I'm getting the following error when i call solver from VBA.

"Solver: An unexpected internal error occured, or available memory was
exhausted."

I use excel 2000 SP3 version. Is there any way to get rid of this problem?.
Pls help me out.
Thanks in advance,
Madhavan.R

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Any one Pls!!!

Can anyone help me out pls?
Regards,
Madhavan.R

"Madhavan" wrote:

Hi all,
I'm getting the following error when i call solver from VBA.

"Solver: An unexpected internal error occured, or available memory was
exhausted."

I use excel 2000 SP3 version. Is there any way to get rid of this problem?.
Pls help me out.
Thanks in advance,
Madhavan.R

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Solver Error

Try this:

http://support.microsoft.com/default...30&Product=xlw

its brand new! 06/08/05

"Madhavan" escreveu:

Hi all,
I'm getting the following error when i call solver from VBA.

"Solver: An unexpected internal error occured, or available memory was
exhausted."

I use excel 2000 SP3 version. Is there any way to get rid of this problem?.
Pls help me out.
Thanks in advance,
Madhavan.R

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Solver Error

Thanks DucA for the updated link.

But after contacting microsoft they say that the fix is available only on a
chargeable basis. I could read the following sentence from the microsoft
support page http://support.microsoft.com/gp/prof...boundary/zh-sg
as "If a problem is determined by Microsoft to be the result of a defect in
a Microsoft product, the customer will not be charged for that incident".

Could anyone or any MVP's clarify me...

Thanks,
Madhavan.R


"DucA" wrote:

Try this:

http://support.microsoft.com/default...30&Product=xlw

its brand new! 06/08/05

"Madhavan" escreveu:

Hi all,
I'm getting the following error when i call solver from VBA.

"Solver: An unexpected internal error occured, or available memory was
exhausted."

I use excel 2000 SP3 version. Is there any way to get rid of this problem?.
Pls help me out.
Thanks in advance,
Madhavan.R

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 690
Default Solver Error

Hi. This will not solve your problem, but could you do me a favor and run
this at the start of your macro. I'd be curious what your MsgBox says.
Thanks.

Sub Your_Code()
MsgBox SOLVER.AutoOpened 'Display Flag
SOLVER.Auto_open ' No harm, re-build it anyway...

'// Your code....
End Sub

Are you using the English version of Excel?
--
Dana DeLouis
Win XP & Office 2003


"Madhavan" wrote in message
...
Thanks DucA for the updated link.

But after contacting microsoft they say that the fix is available only on
a
chargeable basis. I could read the following sentence from the microsoft
support page http://support.microsoft.com/gp/prof...boundary/zh-sg
as "If a problem is determined by Microsoft to be the result of a defect
in
a Microsoft product, the customer will not be charged for that incident".

Could anyone or any MVP's clarify me...

Thanks,
Madhavan.R


"DucA" wrote:

Try this:

http://support.microsoft.com/default...30&Product=xlw

its brand new! 06/08/05

"Madhavan" escreveu:

Hi all,
I'm getting the following error when i call solver from VBA.

"Solver: An unexpected internal error occured, or available memory was
exhausted."

I use excel 2000 SP3 version. Is there any way to get rid of this
problem?.
Pls help me out.
Thanks in advance,
Madhavan.R





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Solver Error

Hi Dana DeLouis,
Thanks for the initiative.
The Message box gives me the message "False".
I use english version of Excel.
Curious for your reply...
Madhavan.R


"Dana DeLouis" wrote:

Hi. This will not solve your problem, but could you do me a favor and run
this at the start of your macro. I'd be curious what your MsgBox says.
Thanks.

Sub Your_Code()
MsgBox SOLVER.AutoOpened 'Display Flag
SOLVER.Auto_open ' No harm, re-build it anyway...

'// Your code....
End Sub

Are you using the English version of Excel?
--
Dana DeLouis
Win XP & Office 2003


"Madhavan" wrote in message
...
Thanks DucA for the updated link.

But after contacting microsoft they say that the fix is available only on
a
chargeable basis. I could read the following sentence from the microsoft
support page http://support.microsoft.com/gp/prof...boundary/zh-sg
as "If a problem is determined by Microsoft to be the result of a defect
in
a Microsoft product, the customer will not be charged for that incident".

Could anyone or any MVP's clarify me...

Thanks,
Madhavan.R


"DucA" wrote:

Try this:

http://support.microsoft.com/default...30&Product=xlw

its brand new! 06/08/05

"Madhavan" escreveu:

Hi all,
I'm getting the following error when i call solver from VBA.

"Solver: An unexpected internal error occured, or available memory was
exhausted."

I use excel 2000 SP3 version. Is there any way to get rid of this
problem?.
Pls help me out.
Thanks in advance,
Madhavan.R




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 690
Default Solver Error

Hi. That is interesting. Did you run your code with the following line at
top?
The line just deletes a small sheet within Solver, and re-builds it. I've
never really understood why it needs to be re-built each time Solver is
loaded normally...perhaps it updates some internal DLL references or
something. I'd be curious on your reply, as this sometimes happens with
later versions of Excel as well, However, I've not experienced this issue
with Office 2003.

Sub Your_Code()
SOLVER.Auto_open ' No harm, re-build it anyway...

'// Your code here...
'// etc...
End Sub

Perhaps at a later time, you can test it with the following:

Sub YourCode()
If Not SOLVER.AutoOpened Then SOLVER.Auto_open
'// Your Solver routine below...
'// etc...
End Sub

--
Dana DeLouis
Win XP & Office 2003


"Madhavan" wrote in message
...
Hi Dana DeLouis,
Thanks for the initiative.
The Message box gives me the message "False".
I use english version of Excel.
Curious for your reply...
Madhavan.R


"Dana DeLouis" wrote:

Hi. This will not solve your problem, but could you do me a favor and
run
this at the start of your macro. I'd be curious what your MsgBox says.
Thanks.

Sub Your_Code()
MsgBox SOLVER.AutoOpened 'Display Flag
SOLVER.Auto_open ' No harm, re-build it anyway...

'// Your code....
End Sub

Are you using the English version of Excel?
--
Dana DeLouis
Win XP & Office 2003


"Madhavan" wrote in message
...
Thanks DucA for the updated link.

But after contacting microsoft they say that the fix is available only
on
a
chargeable basis. I could read the following sentence from the
microsoft
support page http://support.microsoft.com/gp/prof...boundary/zh-sg
as "If a problem is determined by Microsoft to be the result of a
defect
in
a Microsoft product, the customer will not be charged for that
incident".

Could anyone or any MVP's clarify me...

Thanks,
Madhavan.R


"DucA" wrote:

Try this:

http://support.microsoft.com/default...30&Product=xlw

its brand new! 06/08/05

"Madhavan" escreveu:

Hi all,
I'm getting the following error when i call solver from VBA.

"Solver: An unexpected internal error occured, or available memory
was
exhausted."

I use excel 2000 SP3 version. Is there any way to get rid of this
problem?.
Pls help me out.
Thanks in advance,
Madhavan.R






  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Solver Error


Hello. I have used the code Dana provided below and it is amazing. It
solved my problem right away. Where can I learn about what Dana knew,
when Dana was writing the code? Is there a reference for it somewhere
on the internet, or perhaps a book about it?

Dana DeLouis Wrote:


Sub Your_Code()
MsgBox SOLVER.AutoOpened 'Display Flag
SOLVER.Auto_open ' No harm, re-build it anyway...

'// Your code....
End Sub

Are you using the English version of Excel?
--
Dana DeLouis
Win XP & Office 2003



--
ahmtsn
------------------------------------------------------------------------
ahmtsn's Profile: http://www.excelforum.com/member.php...o&userid=33361
View this thread: http://www.excelforum.com/showthread...hreadid=377346

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
Solver Error - an unexpected internal error has occurred Steve Excel Discussion (Misc queries) 1 February 12th 09 03:18 AM
Solver Error - an unexpected internal error has occurred Steve Excel Discussion (Misc queries) 0 February 12th 09 02:35 AM
Solver Error - an unexpected internal error has occurred Steve Excel Discussion (Misc queries) 0 February 12th 09 02:19 AM
Solver Error - an unexpected internal error has occurred Steve Excel Discussion (Misc queries) 0 February 12th 09 02:19 AM
Interesting Solver problem (Solver encounters an error) MrShorty Excel Discussion (Misc queries) 3 December 22nd 05 10:52 PM


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

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"