Comments on: Feedback https://opensolver.org The Open Source Optimization Solver for Excel Wed, 29 Oct 2025 05:56:29 +0000 hourly 1 By: Andrew Mason (Team OpenSolver) https://opensolver.org/discussion/comment-page-20/#comment-629822 Wed, 29 Oct 2025 05:56:29 +0000 http://opensolverblog.wordpress.com/#comment-629822 In reply to Alrik Stelling.

Thanks for your comment, and for taking the time to reach out. I have added the constants above to the https://opensolver.org/opensolver-api-reference/ page. Andrew

]]>
By: Alrik Stelling https://opensolver.org/discussion/comment-page-20/#comment-629809 Tue, 28 Oct 2025 11:48:25 +0000 http://opensolverblog.wordpress.com/#comment-629809 No need to publish this comment on your website. I found the relationConsts values within VBA code itself. Might be handy to publish this list on the website….?

Public Enum RelationConsts
RelationLE = 1
RelationEQ = 2
RelationGE = 3
RelationINT = 4
RelationBIN = 5
RelationAllDiff = 6

]]>
By: Ziad OLAIWAN https://opensolver.org/discussion/comment-page-20/#comment-624077 Tue, 08 Jul 2025 09:30:26 +0000 http://opensolverblog.wordpress.com/#comment-624077 In reply to Andrew Mason (Team OpenSolver).

It works!
Enabling ControlX in Excel’s security option solved the RefEdit problem.
Many thanks Andrew.

]]>
By: Andrew Mason (Team OpenSolver) https://opensolver.org/discussion/comment-page-20/#comment-624066 Tue, 08 Jul 2025 05:28:57 +0000 http://opensolverblog.wordpress.com/#comment-624066 In reply to Ziad OLAIWAN.

If all the RefEdit controls have gone, then it is probably because of a recent update to Excel in which ActiveX controls (including RefEdit) are now turned off by default. Microsoft make these changes occasionally. Please see https://opensolver.org/help/#refedit for more information on this. Because this is a new issue for us, we would love to know if you are able to get OpenSolver working. Thanks, Andrew

]]>
By: Ziad OLAIWAN https://opensolver.org/discussion/comment-page-20/#comment-624008 Mon, 07 Jul 2025 12:58:11 +0000 http://opensolverblog.wordpress.com/#comment-624008 Following on from my last post, I’ve noticed that all the “RefEdit” type controls are no longer present in OpenSolver forms, hence the “undefined variable” error messages.

Further information:
OpenSolver Version 2.9.4 (2021.01.15) running on 64-bit Windows 10.0 with VBA7 in 64-bit Excel 16.0
Microsoft 365
Thank you in advance for your help.

]]>
By: Andrew Mason (Team OpenSolver) https://opensolver.org/discussion/comment-page-20/#comment-621099 Thu, 29 May 2025 07:18:06 +0000 http://opensolverblog.wordpress.com/#comment-621099 In reply to Chris.

Thanks for your query. A few comments.
1) Make sure you copy the folders over as well as the OpenSolver Excel file. Your users will need to be able to run the .exe files for OpenSolver to work. Some newer Mircosoft tools block Office Apps from running .exe files, so you will need to add exceptions if this is the case in your systems.
2) I personally do not set up OpenSolver to autoload. I find it easier to load it when I need it. I just pin it to my recent files within the Excel open dialog.
3) If you really want OpenSolver to autoload, then you either need to put it into a special folder (which the MS documentation should know about; it has changed over the years), or set a registry entry. The About OpenSolver dialog will let you set this registry entry (and you can look at the OpenSolver VBA code to find which registry setting it is; I don’t remember, sorry.)
Hope this helps,
Andrew

]]>
By: Chris https://opensolver.org/discussion/comment-page-20/#comment-621093 Thu, 29 May 2025 05:44:50 +0000 http://opensolverblog.wordpress.com/#comment-621093 I’m new to OpenSolver and would appreciate some assistance. I work as an IT Administrator, and one of our customers has requested that OpenSolver be installed for multiple users.

I’m planning to deploy OpenSolver using a PowerShell script through MECM, our standard deployment tool.

My main concern is whether there is a way to automate the load behavior of OpenSolver. Ideally, we would like OpenSolver to be available automatically when users open Excel.

Is there a registry key or configuration file we can use to manage the load behavior of this Excel add-in?

I look forward to your guidance. Thank you!

]]>
By: Andrew Mason (Team OpenSolver) https://opensolver.org/discussion/comment-page-20/#comment-611011 Mon, 13 Jan 2025 00:57:14 +0000 http://opensolverblog.wordpress.com/#comment-611011 In reply to B John Manistre.

Did you mark the .zip file as safe before you extracted the files as detailed in the download instructions? It must be possible to open .xlsm files in every iteration of Excel; that is a core Excel capability. Andrew

]]>
By: B John Manistre https://opensolver.org/discussion/comment-page-20/#comment-611005 Sun, 12 Jan 2025 22:44:07 +0000 http://opensolverblog.wordpress.com/#comment-611005 Hi, new OneSolver user here. I can download the zip file and run it but my current version of excel (office 365) won’t touch it since it contains macros. I use Windows 11. I have tried the obvious such as going to excel’s Trust Center and relaxing Mother Microsoft’s protections but excel still thinks the xlam file contains dangerous macros. Any help would be appreciated. Also, I am an independent researcher, I no longer have corporate overlords to blame:).

Thanks

]]>
By: Andrew Mason (Team OpenSolver) https://opensolver.org/discussion/comment-page-20/#comment-611003 Sun, 12 Jan 2025 22:16:49 +0000 http://opensolverblog.wordpress.com/#comment-611003 In reply to Brian.

You need to create a cell containing SUM(A1:C1) and apply the limit of 5 to this using a constraint. Andrew

]]>