Cannot run the macro SOLVER.XLAM!MainEx error message

Ive had this problem for awhile but am now needing to use solver for my schoolwork. 
Anytime i try to use the solver function under the data tab this error message pops up. 
I have tried taking off and readding the add-in under options. 
when i try to access solver in the visual basic panel it asks for a password which i have never set
Im running excel 2013 on windows 7
I have tried many things and am exhausted. No solution has been posted to this problem on the site or anywhere on the web 
THIS IS NOT WHEN IM TYPING MACRO CODE IN VBA. its just when i try to use solver for simple spreadsheet calculations. 
when i click solver i get the error cannot run module: SolverCode
when i try to access the solver code in vba a password is required 

Hi,
As far as I know,  the Solver add-in code has the password by design, it is protected on purpose and copyrighted. They are designed for use from the spreadsheet only. 
Then, as the error message:" Cannot run the macro SOLVER.XLAM!MainEx error message." Please try to do the following methods to fix the issue:
1. Open VBE (Alt+F11)>Click Tools> References>set to SOLVER>Show immediate code pane (Ctrl+G)>Copy/paste (or write): application.run "solver.xlam!auto_open"
2. Disable the other Excel add-ins, such as
Adobe PDFMaker.
3. Repair Office 2013.
Regards,
George Zhao
TechNet Community Support

Similar Messages

  • Error launching office client : Cannot run the macro 'RegisterEPMXIIFn'

    Error launching office client : Cannot run the macro 'RegisterEPMXIIFn'
    I've been receiving the above error since last week. I've adjusted the macro settings in excel and tried reinstalling the epm addin numerous times and up till now i haven't managed to get it resolved. Really need someone to help me on this. Whenever i check in excel, the epm add-in is already enabled. Please let me know how else can i get to resolve this.

    Dear Rudy,
    Indeed, could you please try the following suggestions:
    In the Internet Explorer, go to : Tools->Internet Options-> Security->Custom Level, in section “Download”, check if the option “Automatic prompting for file downloads“ is enabled
    In Excel, go to Excel Options-> Trust Center-> Trust Center Settings-> Macro Settings: check the
    options “Disable all macros except digitally signed macros” and "Trust access to the VBA project object model"
    Regards,
    Siwar

  • Cannot run the macro 'YIELD'. The macro may not be available in this workbook or all macros may be disabled.

    Dear Sir,
              While i am calling Excel function through asp.net  using Excel 2003 i  was not facing any kind of issue it's working fine but while i am calling  Excel functions through asp.net using 
    Excel 2010  i am facing an issue even after enabling the micro in settings . issue is 
    "Cannot run the macro 'YIELD'. The macro may not be available in this workbook or all macros may be disabled." please solve this as soon as possible .
    Thanks & Regards
      Sanjeev

    // I made a singleton class and calling that class to access Excel functions
    Public Class Singleton
        Private Shared objexcel As Excel.Application
        Private Shared lock As New Object
        Private Sub New()
            System.Console.WriteLine("Instance of Singleton class created at : " & Now())
        End Sub
        Public Shared Function GetInstance() As Excel.Application
            SyncLock lock
                If objexcel Is Nothing Then
                    objexcel = New Excel.Application
                    objexcel.RegisterXLL(objexcel.LibraryPath & "\Analysis\ANALYS32.XLL")
                End If
                Return objexcel
            End SyncLock
        End Function
    End Class
    // Common Function for yield 
    Public Sub CalculateYield( _
               ByVal YTMDate As Date, ByVal FaceValue As Double, ByVal Rate As Double, _
               ByVal NonGovernmentFlag As Boolean, ByVal RateActualFlag As Boolean, _
               ByVal MaturityDate As Date, ByVal MaturityAmt As Double, _
               ByVal CouponDate As Date, ByVal CouponRate As Double, _
               ByVal CallDate As Date, ByVal CallAmt As Double, _
               ByVal PutDate As Date, ByVal PutAmt As Double, ByVal intFrequency As Int16, _
               ByVal strOption As String, ByVal dblResult As Double, ByVal strSemiAnnFlag As String)
            Try
                Dim decMarketValue As Double
                Dim intBasis As Int16
                decMarketValue = IIf(RateActualFlag = True, Rate * FaceValue / 100, Rate)
                decMarketValue = decMarketValue * 100 / FaceValue
                decMarketValue = objCommon.DecimalFormat(decMarketValue)
                MaturityAmt = MaturityAmt * 100 / FaceValue
                MaturityAmt = objCommon.DecimalFormat(MaturityAmt)
                CallAmt = CallAmt * 100 / FaceValue
                CallAmt = objCommon.DecimalFormat(CallAmt)
                PutAmt = PutAmt * 100 / FaceValue
                PutAmt = objCommon.DecimalFormat(PutAmt)
                intBasis = IIf(NonGovernmentFlag = True, 3, 4)
                If strOption = "Y" Then
                    With Singleton.GetInstance
                        If MaturityDate <> Date.MinValue And MaturityDate > YTMDate Then
                            dblYield = CType(Singleton.GetInstance.Run("YIELD", YTMDate, MaturityDate, CouponRate / 100, decMarketValue, MaturityAmt,
    intFrequency, intBasis), Double)
                            dblYTMAnn = CType(Singleton.GetInstance.Run("EFFECT", dblYield, intFrequency), Double)
                            dblYTMSemi = CType(Singleton.GetInstance.Run("NOMINAL", dblYTMAnn, 2), Double)
                            'End If
                            dblYTMAnn = dblYTMAnn * 100
                            dblYTMSemi = dblYTMSemi * 100
                        Else
                            dblYTMAnn = 0
                            dblYTMSemi = 0
                        End If
                        If CallDate <> Date.MinValue And CallDate > YTMDate Then
                            dblYield = CType(Singleton.GetInstance.Run("YIELD", YTMDate, MaturityDate, CouponRate / 100, decMarketValue, MaturityAmt,
    intFrequency, intBasis), Double)
                            dblYTCAnn = CType(Singleton.GetInstance.Run("EFFECT", dblYield, intFrequency), Double)
                            dblYTCSemi = CType(Singleton.GetInstance.Run("NOMINAL", dblYTMAnn, 2), Double)
                            'End If
                            dblYTCAnn = dblYTCAnn * 100
                            dblYTCSemi = dblYTCSemi * 100
                        Else
                            dblYTCAnn = 0
                            dblYTCSemi = 0
                        End If
                        If PutDate <> Date.MinValue And PutDate > YTMDate Then
                            dblYield = CType(Singleton.GetInstance.Run("YIELD", YTMDate, MaturityDate, CouponRate / 100, decMarketValue, MaturityAmt,
    intFrequency, intBasis), Double)
                            dblYTPAnn = CType(Singleton.GetInstance.Run("EFFECT", dblYield, intFrequency), Double)
                            dblYTPSemi = CType(Singleton.GetInstance.Run("NOMINAL", dblYTMAnn, 2), Double)
                            dblYTPAnn = dblYTPAnn * 100
                            dblYTPSemi = dblYTPSemi * 100
                        Else
                            dblYTPAnn = 0
                            dblYTPSemi = 0
                        End If
                    End With
                End If
            Catch ex As Exception
                Throw ex
            End Try
        End Sub
    // call  yield function
    GlobalFuns.CalculateYield(datYTM, decFaceValue, decRate, blnNonGovernment, blnRateActual, datMaturity, decMaturityAmt, _
                                   datCoupon, decCouponRate, datCall, decCallAmt, datPut, decPutAmt, Val(Hid_Frequency.Value
    & ""), "Y", 0, "")
    this code  is working in Excel 2003 but it's not working in Excel 2010
    //Error is
    Cannot run the macro 'YIELD'. The macro may not be available in this workbook or all macros may be disabled.

  • I cannot run itunes, I keep getting this error message" Quick Time failed to initialized (error02096) Quick time is required to run please unistall itunes then install itunes again, I have done this three time and I keep getting the same error message.

    On my PC, I cannot run itunes, I keep getting this error message" Quick Time failed to initialized (error02096) Quick time is required to run please unistall itunes then install itunes again, I have done this three times and I keep getting the same error message. I have had itunes for years, but up until 2 months ago the quick time will not initialize to run it.

    Try using the Windows Installer Cleanup Utility and delete the iTunes installer. Then try installing iTunes again
    http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html

  • I own an iMac 2011. I am unable to reinstall and launch premiere pro cc. We I attempt to run the program I get a error message saying that the adobe application manager is missing or need to be updated. I reinstalled the manager but I am still unable to l

    I own an iMac 2011. I am unable to reinstall and launch premiere pro cc. We I attempt to run the program I get a error message saying that the adobe application manager is missing or need to be updated. I reinstalled the manager but I am still unable to launch any of my programs from adobe. I tried to do a trail with a program and I am still getting the same message.

    Davinci thank you for the update.
    Please utilize any available uninstallers that are located in the Applications/Utilities/Adobe Installers folder.  Once all of the available uninstallers have been run you will then want to rerun the CC Cleaner Tool.  You can find directions on the use of the CC Cleaner Tool and a download link at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.  After the CC Cleaner Tool is run then please reinstall the Creative Cloud Desktop application from Creative Cloud Help | Creative Cloud for desktop.
    The CC Cleaner Tool is designed to be used after running the uninstallers.  Without running the uninstallers first then a complete removal may not be possible.

  • I cannot run my ITunes any longer.  Error message says lITunes Library.itl cannot be read because it was created by a newer version of ITunes

    Has anyone had any luck getting ITunes to work properly on a Windows 7 PC lately?  Up until today, I could not open my ITunes at all because it said the disk was locked.  A very helpful person at Apple Care told me to go into properties and release the read only box.  I did and it did not help.  So I uninstalled ITunes and downloaded the newest version.  Now I get the message:  ITunes Library.itl cannot be read because it was created by a newer version of ITunes.
    Can anyone help me out with this?  Thanks.

    See Empty/corrupt iTunes library after upgrade/crash.
    tt2

  • I cannot run anymore itunes on my laptop - error 7 (windows error 998)

    I cannot run anymore itunes on my laptop - error 7 (windows error 998)

    See Troubleshooting issues with iTunes for Windows updates.
    Use the steps in the second box to repair your iTunes installation. Your library should be unaffected by these steps but there is backup advice elsewhere in the user tip.
    tt2

  • OWB - Workflow- Cannot run program "/usr/bin/perl": CreateProcess error=2,

    Hi All,
    I am using OWB 11gR2 and I am getting "perl" location error after start workflow for any dimension or fact.
    *Cannot run program "/usr/bin/perl": CreateProcess error=2, The system cannot find the file specified
    The log is below. I am using Windows 2008 R2 OS and 11gR2 DB. The perl path is set in the environment variables and I can run the perl.exe from command line.
    Why OWB is looking for the Unix base path "/usr/bin/perl": is a question for me.
    If anybody knows the issue please guide me.
    Thanks
    OUBIWF_D_DEVICE_ACTIVITY_TYPE                                        2012-07-04 16:57:37.0     4
    Parameters                                             
    OUBIWF_D_DEVICE_ACTIVITY_TYPE:FILEMGR_PRE                              1          2012-07-04 16:57:38.0     2
    Parameters                                             
    RPE-02229: The following debug information was collected:                                             
    RPE-02230: Debug Information: os.name = Windows Server 2008 R2                                             
    RPE-02230: Debug Information: os.version = 6.1                                             
    RPE-02230: Debug Information: os.arch = amd64                                             
    RPE-02230: Debug Information: user.name = INT-A-MDM-01$                                             
    RPE-02230: Debug Information: user.dir = C:\product\11.2.0\dbhome_3\owb\bin\win32                                             
    RPE-02230: Debug Information: argv.arg0 = /usr/bin/perl                                             
    RPE-02230: Debug Information: argv.arg1 = /spl/intbase/DB/tools/filemgr/splfilemgr.plx                                             
    RPE-02230: Debug Information: argv.arg2 = -l                                             
    RPE-02230: Debug Information: argv.arg3 = /spl/BIDevelopment/bi2400db                                             
    RPE-02230: Debug Information: argv.arg4 = -n                                             
    RPE-02230: Debug Information: argv.arg5 = D_DEVICE_ACTIVITY_TYPE_EXT.DAT                                             
    RPE-02230: Debug Information: argv.arg6 = -p                                             
    RPE-02230: Debug Information: argv.arg7 = 1                                             
    RPE-02230: Debug Information: argv.arg8 = -s                                             
    RPE-02230: Debug Information: argv.arg9 = S                                             
    RPE-02230: Debug Information: argv.stdin =                                             
    RPE-02230: Debug Information: USERPROFILE = C:\Windows\system32\config\systemprofile                                             
    RPE-02230: Debug Information: JAVAPATH = C:\product\11.2.0\dbhome_3\jdk6                                             
    RPE-02230: Debug Information: NODEID = 1                                             
    RPE-02230: Debug Information: IAS_HOME = C:\product\11.2.0\dbhome_3                                             
    RPE-02230: Debug Information: SystemDrive = C:                                             
    RPE-02230: Debug Information: RTHOME = C:\product\11.2.0\dbhome_3                                             
    RPE-02230: Debug Information: Path = C:\product\11.2.0\dbhome_3\bin;C:\product\11.2.0\dbhome_3\jdk6\jre\bin\client;C:\product\11.2.0\dbhome_3\jdk6\jre\bin;C:\product\11.2.0\dbhome_3\owb\bin\admin;C:\Windows\system32                                             
    RPE-02230: Debug Information: CONNECT_SPEC = 10.34.32.136:1521:MDM                                             
    RPE-02230: Debug Information: PROCESSOR_REVISION = 1a05                                             
    RPE-02230: Debug Information: OCM_ORACLE_HOME = C:\product\11.2.0\dbhome_3                                             
    RPE-02230: Debug Information: USERDOMAIN = WORKGROUP                                             
    RPE-02230: Debug Information: ALLUSERSPROFILE = C:\ProgramData                                             
    RPE-02230: Debug Information: TMP = C:\Windows\TEMP                                             
    RPE-02230: Debug Information: CommonProgramFiles = C:\Program Files\Common Files                                             
    RPE-02230: Debug Information: PROMPT = $P$G                                             
    RPE-02230: Debug Information: PROCESSOR_LEVEL = 6                                             
    RPE-02230: Debug Information: JVM_OPTIONS = -Xmx768M                                             
    RPE-02230: Debug Information: LOCALAPPDATA = C:\Windows\system32\config\systemprofile\AppData\Local                                             
    RPE-02230: Debug Information: COMPUTERNAME = INT-A-MDM-01                                             
    RPE-02230: Debug Information: SystemRoot = C:\Windows                                             
    RPE-02230: Debug Information: ORA_HOME = C:\product\11.2.0\dbhome_3                                             
    RPE-02230: Debug Information: USERNAME = INT-A-MDM-01$                                             
    RPE-02230: Debug Information: APPDATA = C:\Windows\system32\config\systemprofile\AppData\Roaming                                             
    RPE-02230: Debug Information: ProgramData = C:\ProgramData                                             
    RPE-02230: Debug Information: PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC                                             
    RPE-02230: Debug Information: ORACLE_HOME = C:\product\11.2.0\dbhome_3                                             
    RPE-02230: Debug Information: RTUSER = OWBSYS                                             
    RPE-02230: Debug Information: ProgramFiles(x86) = C:\Program Files (x86)                                             
    RPE-02230: Debug Information: TEMP = C:\Windows\TEMP                                             
    RPE-02230: Debug Information: OEM_HOME = C:\product\11.2.0\dbhome_3                                             
    RPE-02230: Debug Information: ProgramFiles = C:\Program Files                                             
    RPE-02230: Debug Information: JDK_HOME = C:\product\11.2.0\dbhome_3\jdk6                                             
    RPE-02230: Debug Information: OCM_HOME = C:\product\11.2.0\dbhome_3                                             
    RPE-02230: Debug Information: ProgramW6432 = C:\Program Files                                             
    RPE-02230: Debug Information: PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 26 Stepping 5, GenuineIntel                                             
    RPE-02230: Debug Information: STARTUP_TYPE = -manual                                             
    RPE-02230: Debug Information: PROCESSOR_ARCHITECTURE = AMD64                                             
    RPE-02230: Debug Information: OS = Windows_NT                                             
    RPE-02230: Debug Information: FP_NO_HOST_CHECK = NO                                             
    RPE-02230: Debug Information: CommonProgramW6432 = C:\Program Files\Common Files                                             
    RPE-02230: Debug Information: ORACLE_SID = mdm                                             
    RPE-02230: Debug Information: DISCOVERER_ALLOW_DB_CONNECT_STRING = YES                                             
    RPE-02230: Debug Information: OWB_HOME = C:\product\11.2.0\dbhome_3                                             
    RPE-02230: Debug Information: NUMBER_OF_PROCESSORS = 2                                             
    RPE-02230: Debug Information: PUBLIC = C:\Users\Public                                             
    RPE-02230: Debug Information: PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\                                             
    RPE-02230: Debug Information: CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files                                             
    RPE-02230: Debug Information: ComSpec = C:\Windows\system32\cmd.exe                                             
    RPE-02235: The operating system has reported that it cannot execute the requested command. This may be because the command or the parameters are invalid, or that the command is shell command. Any result code return is specific to the operating system. Debug information has been produced.                                             
    Cannot run program "/usr/bin/perl": CreateProcess error=2, The system cannot find the file specified                                             
    OUBIWF_D_DEVICE_ACTIVITY_TYPE:EMAIL_FILEMGR                              1          2012-07-04 16:57:40.0Parameters                                             
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 267
    ORA-06512: at "SYS.UTL_SMTP", line 161
    ORA-06512: at "SYS.UTL_SMTP", line 197
    ORA-06512: at line 8

    Hi There
    Am experiencing the same issue. Did you manage to resolve it, is so can you advice what the resolution is. Thanks
    Regards,
    Kayode

  • Cannot running the file suddenly

    i can run any file before, but i dont' know why i cannot run the file suddenly. i just running a simple file as follow:
    public class h {
    public static void main(String[] args) {
    // Display "Hello World!"
    System.out.println("Hello World!");
    i compile file successfully, but when i run the file , it display the following error:
    Excepting in thread "main" java.lang.NoClassDefFoundError: h

    bet your h.class file is not in classpath.

  • Cannot run application ADF Applica. due to error deploying to DefaultServer

    when i m running the Application in JDev 11g i m getting the error
    Cannot run application SRDemoSampleADFBC due to error deploying to DefaultServer.
    application is complied successfully but at run time it shows this
    Cannot run application SRDemoSampleADFBC due to error deploying to DefaultServer.
    [Application SRDemoSampleADFBC stopped and undeployed from Server Instance DefaultServer]
    plz help
    thanks

    duplicate - Cannot run application ADF Applica. due to error deploying to DefaultServer

  • Pc cannot install purchased photo elements 13.  Error message appears:  File archive part missing from Adobe Photo Elements 13.  You need all parts in the same folder in order to extract Adobe Photoshop 13.  please download all parts.

    Cannot install my download due to above error message.

    Hi revbos,
    Apologies for your incovinience.
    Requesting you to please go to https://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements&loc=us. When you click on download button (after selecting your OS details), it should open a new browser window (which will launch the Akamai installer automatically). Please cancel any installation or error shown.
    The newly opened browser page will look something like this:
    As highlighted, please click on these links (one by one) and see if it downloads the required files. The downloaded files will be compressed with 7z format. If you have some extracting tool (like WinZip) try extracting it. If you don't have it, download 7z. Its a free utility from Microsoft. Once downloaded and installed, you will be able to extract file and locate the PSE setup.
    Please let me know if you face any issues.
    ~Surendra

  • I am trying to update a number of items which the software check brings up:      It runs and says it is installing but at the end I get this error message:    The update could not be expanded, and may have been corrupted during downloading. The update wil

    Hi,
    I am trying to update a number of items which the software check brings up:
    It runs and says it is installing but at the end I get this error message:
    BUT then I ge tthis:
    Can anyone help me to enable the software to update?
    Thanks

    Thanks.  Something isn't right as I just tried to download the iphoto update - it said it had competed the download but then when I clicked on the download item I get this:
    Think will have to take it into the store.....
    thanks for replying.

  • Keep getting the error message "cannot connect to iTunes..." error message (-3212)??, keep getting the error message "cannot connect to iTunes..." error message (-3212)??

    I keep trying to upgrade my iPad using iTunes..The error message "cannot attach to iTunes store...error message (-3212).  Suggestions?

    I get that problem once in a while and I will not be able to connect to the Internet with any of the 5 or 6 (or 7 or 8 ) web browsers that I use on my iPad. The one thing that I do that has never failed to work for me is to close all apps on my iPad and reset the device. I can't guarantee that it will work for you, but this works for me every time I get the server failed to load/can't connect to the Internet message.... Or whatever the exact message is.
    If you have a ton of apps in the multitasking display, it can take a while to close them all, so you could just trey resetting the iPad first and that might be all that you need to do.
    Closing apps in iOS 7 works like this. Drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • I am running Windows 7 (64bit) , and an error message appears following a recent update to iTunes v 11.1.2:  "iTunes could not connect to the iTunes store. An unknown error occured (-3212). Make sure your network connection is active and try again." help!

    I am running Windows 7 (64bit) , and an error message appears following a recent update to iTunes v 11.1.2:  "iTunes could not connect to the iTunes store. An unknown error occured (-3212). Make sure your network connection is active and try again." I have dug a little bit into possible problems but haven't found a solution yet, one note is that the network connection is OK. A response would be highly appreciated!  Thanks in advance.

    Hi c1r1g1,
    If you are having an issue connecting to the iTunes Store, you may find the following article helpful:
    Apple Support: Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Regards,
    - Brenden

  • How to run the Macro in RTF

    Hi Tim,
    Do you know how to run the WORD macro in RTF?
    Suppose I want to run the macro for Section Break, Is there any way we can call it using WORD Macro.
    Any help is appriciated.
    Thanks,
    Ambadas

    Hi Ambadas
    Now, Im not entirely sure what you mena by:
    'Do you know how to run the WORD macro in RTF?'
    Are you looking to run a macro to create a section break for you during the design of the template? - you can do this.
    Or do you want to embed a macro in the RTF output - you can not do this - RTF does not support macros.
    Please explain further.
    Regards, Tim

Maybe you are looking for

  • One account and two user names??? HOW??

    Hi, First of all, I own 5 Macs in my company, from iMac 24" to Macmini, the entire line. Use Macs since Classic model, so I'm not totally dumb... or may be I am It started with a problem syncing iCal and Contacts. The database files became corrupted.

  • Employee Contribution and employer match in benefits

    Hi All, I am just trying to figure out where the employee pretax, post tax cost and employer match are calculated in benefits? In IT0167, i could see plan type and for that plan type i could see the wage type in T5UBA, but i am not getting where it c

  • Problem with SAP Logon

    Hi alls, I hope can some help me, I'm trying to connect to SAP via SAPLogon. I've tried to fix the problem but I don’t have success. SAP Logon Properties: Description:  NSP Application Server: localhost SAProuter-String: blank System-ID:        NSP S

  • PO Quantity automatic update

    Hello Experts, I am facing a strange problem of automatic update of PO quantity. As soon as I press enter aftre entering the details in ME21N the PO qnatity changes. I cheked the inforecord for the combination of Vendor and material but there is no s

  • Message the older version of apple software can not be removed

    Hi, I have bought a new iphone4s and when I tried to install in to my itunes it told me I needed an updated version of itunes. So I downloaded the latest and get a message " The older version of Apple Software Update cannot be removed" and then the i