Help please:Problem with Solver and Excel in Spanish version

dalmeyda

New Member
Joined
Sep 9, 2004
Messages
3
Hi,

I made a macro with Solver using Excel in a SPANISH version. It does not work at all, and it mentions a compilation mistake, notwithstanding the fact that I added in Visual Basic the corresponding reference between my worksheet and Solver.

However, the weird thing is that the Solver macro works perfectly when I run it in a computer with Excel in an ENGLISH version.

Could you please let me know what can I do to make my Solver macro run in Excel in Spanish? I have consulted this matter in Spanish online forums and it seems to be a common problem, however, there seems to be no solutions posted online. I will deeply appreciate any leads on this issue.

Thanks in advance,


Miguel A. Almeyda
Santiago, Chile
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Re: Help please:Problem with Solver and Excel in Spanish ver

Hola Miguel,

Cuál es el macro utilizado ? no tengo en este computador una versión de Solver en español, pero creo que tengo acceso a un computador que si lo tiene (aunque no es seguro...)
 
Upvote 0
Re: Help please:Problem with Solver and Excel in Spanish ver

Juan Pablo,

Mil gracias por responder. El codigo de la macro es

SolverOk SetCell:="$E$16", MaxMinVal:=3, ValueOf:="1.101", ByChange:="$C$16"
SolverSolve UserFinish:=True
SolverFinish KeepFinal:=1


Para que funcione, en Visual Basic debo referenciar mi archivo Excel con el Solver correspondiente : Menu.- Herramientas> Referencias... y ahi aparece una ventana donde selecciono Solver.

Si no aparece el Solver en la lista, ahi mismo tengo la opcion de ir a buscar el archivo llamado Solver.xla . En mi caso, si bien mi Excel esta en español, la ventana de referencia indica que el idioma de Solver.xla es ingles y me imagino que es ahi donde tengo el problema.

Ojala sepas ayudarme. Gracias de antemano.

Saludos

Miguel
 
Upvote 0
Re: Help please:Problem with Solver and Excel in Spanish ver

Bueno, pues *depronto* el problema está en el nombre de los argumentos, así que qué tal esto ?

Code:
SolverOk "$E$16", 3, "1.101", "$C$16" 
SolverSolve True 
SolverFinish 1
 
Upvote 0
Re: Help please:Problem with Solver and Excel in Spanish ver

Juan Pablo,

Intente el codigo que me pasaste y sigo teniendo el mismo problema: funciona en Excel en ingles pero no en Excel en español.

Si sabes otro tip, te lo agradecere mucho.

Saludos
 
Upvote 0

Forum statistics

Threads
1,223,945
Messages
6,175,555
Members
452,652
Latest member
eduedu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top