"run time error -91" in microsoft excel add-in

when I am trying to access a report in add-in, am getting error like this....
"Run-time error '91':
Object variable or With block variable not set.

And my excel is 2010, which version of essbase is compatible for my excel?

Similar Messages

  • "RUN-TIME ERROR '3078': The Microsoft Access database engine cannot find the input table or query 'name'. Make sure it exists and that its name is spelled correctly.

     When I run the code below I get the following error:"RUN-TIME ERROR '3078': The Microsoft Access database engine cannot find the input table or query 'False'. Make sure it exists and that its name is spelled correctly. Note that I do not call
    anything by the name of "false" anywhere in this code.
    The subject code (the underscored line of code is highlighted in the debugger when the error occurs):
    Option Compare Database
    Private Sub JobAssign_Click()
    MatLotListAvail_openform
    End Sub
    Function MatLotListAvail_openform()
    Dim dbsAPIShopManager2010 As DAO.Database
    Dim rstMaterialLotJobJoint As DAO.Recordset
    Dim strSQL As String
    Set dbsAPIShopManager2010 = CurrentDb
    strSQL = "SELECT * FROM MaterialLotJobJoint WHERE JobID" = "tempvars!JobID" And "MatLotID" = "tempvars!MatLotID"
    Set rstMaterialLotJobJoint = dbsAPIShopManager2010.OpenRecordset(strSQL, dbOpenDynaset)
    If rstMaterialLotJobJoint.EOF Then
    DoCmd.OpenForm "JobAssignMatConf", acNormal, "", "", acEdit, acNormal
    Forms!JobAssignMatConf!PartapiIDVH = TempVars!PartapiID
    Forms!JobAssignMatConf!JobapiIDVH = TempVars!JobapiID
    Forms!JobAssignMatConf!JobIDVH = TempVars!JobID
    Forms!JobAssignMatConf!MaterialLotIDVH = TempVars!MatLotID
    Forms!JobAssignMatConf!Desc = TempVars!MatDesc
    Forms!JobAssignMatConf!recdate = TempVars!recdate
    DoCmd.Close acForm, "MaterialLotListAvailable"
    Else: MsgBox "This material lot has already been assigned to this job."
    DoCmd.Close acForm, "MaterialLotListAvailable"
    End If
    End Function

    I think the SQL statement should be
    strSQL = "SELECT * FROM MaterialLotJobJoint WHERE JobID=" & _
    tempvars!JobID & " AND MatLotID=" & tempvars!MatLotID
    This assumes thatJobID and MatLotID are number fields.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Loading Itunes on Windows so that I can get my Iphone synch etc. But I keep getting a run time error for the Microsoft  Visual C   Run time Library

    In loading Itunes down on my PC using Vitsa I keep geeting an error message saying that a program is trying to load: Microsoft Visual C++ Runtime Library and ITunes will not complete the down load. Any Suggestions

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Excel run time error (Essbase caused?)

    Currently I'm getting an error whenever I open files in Excel that seem to be pointing to an Essbase XLL file called essexcln.xll. I've searched the web and find that most of the causes relate to:
    1. The essexcln.xll file being installed in the wrong location, whcih is not the case with this situation as I have verfieid its in the C:\Hyperion\AnalyticServices\bin folder
    2. The add-in wasn't installed correctly, which also isn't the case as everything was installed correctly and Essbase works fine on this machine.
    The files being opened do not have macros so that also doesn't seem to be the issue.
    Anyone have any thoughts on what this could be? Could it be something simple that I'm overlooking?
    BTW, the exact error is a pop-up box with the following:
    "The file you are trying to open, essexcln.xll, is in a different format than that specidied by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
    If I click "Yes", I get another VBA error:
    "Run time error 53. File not found essexcln.xll"

    Cause
    ARBORPATH, ESSPATH, HYPERION_HOME, ESSLANG do not exist as the Add In was installed with a normal user account NOT the administrator one.
    Solution
    1. Log into the Client Machine with administrator access.
    2. Re-install the Essbase client.
    3. Check the environment variables to see if the PATH and ARBORPATH, HYPERION_HOME,ESSLANG exist.
    Source:
    Unable to Launch the Essbase Excel Add In With Error: "Run Time error 53 File Not found essexcln.xll in Excel" (Doc ID 1072098.1)

  • Excel not even open - "cannot complete this task with available resources" and then VBA run-time error randomly appear!

    Has anyone else seen the "Excel cannot complete this task with available resources" error message appear when Excel isn't even open? It keeps happening to me, and it's the strangest thing.
    It seems like interacting with Excel files sometimes prompts it - for example, I just turned on my computer this morning, checked my email, and then opened Google Chrome to upload some Excel files. Excel hasn't been opened at any point since the machine
    booted up, but this Excel error popped up while I was uploading the files.
    Checked the Task Manager because I was baffled (not that this is the first time it's happened), and there's no Excel application running, just that silly error message. Choose OK on that error and a VBA run-time error message appears (not even sure if it's
    Excel VBA or Word/Outlook but I assume it's Excel - it's the good old 1004, application-defined or object-defined error).
    Debug is greyed out, so it won't let me debug to see what the problem is. Choosing End brings the "Excel cannot complete this task with available resources" message back for one final performance.
    This happens on a not-infrequent basis: Excel isn't open, and I randomly get this set of Excel errors: 1) "cannot complete task", 2) VBA run-time, 3) "cannot complete task" again. Then it's done, until the next time it happens. Weird.
    I have 32-bit Windows 7 and Excel 2013/2010/2007/2003/2002 (I know!) but the issue only started after installing 2013. I also get the "cannot complete this task" message regularly when working in Excel (generally with Power Pivot or something legitimately
    memory-hungry though), and restarting the application does the trick. I don't mind a heads-up when I'm gobbling up too many resources, but when Excel's not even open, it's a bit ridiculous. It's like I have a zombie Excel! Does interacting with Excel files
    via upload/moving around Windows Explorer actually trigger some sort of Excel action in the background?
    Any ideas would be most appreciated!! Thank you :)

    Hi,
    As the memory error messages , it can be very generic and don't always identify the real cause of the issue. We may try to use the KB that Mr. KR mentioned above to troubleshoot it.
    On the other hand, if the file is xls format, we may convert to the new file format .XLSM and test.
    http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28339883.html
    Next, try to disable hardware graphics acceleration from File > Options > Advanced > Display section and disable Aero Themes (if you enabled) to check the results.
    For the hangs and crashes issues, we may use ADPlus.vbs to troubleshoot:
    http://support.microsoft.com/kb/286350/en-us
    http://www.networksteve.com/exchange/topic.php/Excel_cannot_complete_this_task_with_available_resources_error,/?TopicId=39411&Posts=1
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Hope it's helpful.
    George Zhao
    TechNet Community Support

  • Microsoft C++ Run Time Error

    hi experts...
    When iam login to sap b1 it's showing Run Time Error
    Microsoft C++ Run Time Error 
    Programs:C/progrmsfile/sap/sapb1.exe
    Abnormal programmer Terminations.
    We unistall totall .net s/w then it's showing same error.
    before i done some add-ons in my pc is it resone ?
    how i can solve this problem?
    Edited by: Darius Heydarian on Mar 25, 2008 5:56 PM
    Edited by: Darius Heydarian on May 6, 2008 5:15 PM

    Hello,
    In addition to Lucas suggestion, there is another SAP Note 852031 following above Note 808354. Try the suggested work around in this Note only after going over Note 808354. The work around is good for cases where more than one UI versions ar registered at the same time.
    Note 852031 Link:
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000852031]
    Hope this Note can be useful.
    Best Regards,
    Tim
    Edited by: Tim Dai on May 19, 2008 4:40 PM

  • Oracle 10.2 Predictive Analytics Spreadsheet Add-In - Run-time error 429

    Hi,
    I installed the "Oracle 10.2 Predictive Analytics Spreadsheet Add-In" for Excel. When I'm running Excel, and I click the OraclePA menu option "connect", I get the error:
    Run-time error 429:
    ActiveX component can't create object
    I am running Win-2000, and I have the 10.2.0.1.0 (with Data Mining Options) DB installed locally.
    Any ideas on how to resolve this error?
    Thanks.

    Hello,
    this is the typical error seen when trying to activate a program after installing it without restarting your computer first.
    you it tried to restart your computer ????
    What is version of the excel ?

  • Getting exporting to excel gives a run time error.

    Hi,
    I am getting exporting to excel gives a run time error.
    <outbind://127/cid:656371011@08092010-11C9>
    while exporting a query to excel from bw
    Regards
    Karan

    Not sure why this thread bubbled up, but for more recent advice on this topic see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • XL reporter launching in SAP 8.81 PL:00: run time error

    Hello experts,
    We have a customer who is on SAP 8.81 PL:00.
    They are trying to use XL reporter but when they try using XL reporter, they get:
    Run time Error 91
    The system then freezes.
    Have checked they have Microsoft.net 1.1 which they do and that they have the correct excel.exe config file which they do.
    Any suggestions or known faults with 8.81?
    Thank you in advance,
    Andy

    Hi Andrew,
    'Object reference not set to an instance of an object ' is a known error, this usually happens because there was a previous install of the same add on which was not uninstalled completely. This can cause the error.
    I would suggest you to go through sap notes 1247315, 1287193. These all suggests about run time errors, cleaning registry files and clean install etc.
    Hope it helps
    regards
    Johnson

  • SAP Gui 6.40 BeX Analyser problem (Run Time Error)

    Dear All
    Really need some help
    We get the following error in EXCEL 2003 when running transaction rrmx from SAP easy access:
    Run time error 91 Object variable or with block variable not set
    When debugging we get the following error message:
    call pAddin.SetConnectionFromHandle(p_connectionObj).
    We've rolled out the same package globally to all our users, some machines have this problem and some don't - which has been making this very difficult to resolve and troubleshoot.
    We've tried patch level 29 of the GUI and this did not resolve.
    I've read lots of threads relating to the .net framework and made sure all the service packs are installed, and also tried .net framework 2.0 and 3.0 - the problem still existed with both.
    I'm really stuck and appreciate any guidance.
    If we manually launch Analyzer (SAP BW 3.x) from the start menu, EXCEL and the BW add-in works fine... we only get the run time error when using transaction rrmx from SAP GUI.
    Please help!
    Thanks.

    OK, so I've done the following - which DID work and i no longer get the RUN TIME error:
    -uninstalled SAPGUI
    -uninstalled Office 2003
    -uninstalled all .net framework versions + updates.
    -install .net framework 2.0 with SP1
    -install microsoft office 2003 + SP3
    install sap gui 6.40 + patch level 29
    However, if anyone out there has got an easier and quicker solution to this problem I'd REALLY appreciate it. I have got lots of our users with this problem and it took a long time to complete all the steps above.. there must be something easier to do to fix this...
    thanks for your help

  • Run-time error '1004' -- Method 'Container' of object '_Workbook' failed

    Dear All,
    One of our users is getting the following Microsoft Visual Basic error while running the report S_ALR_87013614.
    Run-time error '1004'
    Method 'Container' of object '_Workbook' failed.
    I have searched the forum posts for help. But I only found some details related to Run-time error 1004 related to some excel file security but not related to "Method 'Container' of object '_Workbook' failed".
    Could anyone please tell me how this error can be eliminated for the user?
    Regards,
    Lakshmi.

    Dear Arpan,
    We too observed a few PIDs along with the one that you have mentioned but they make no difference. Some users who has the PID G_RW_DOCUMENT_TYPE set with some value are getting the report.
    Upon further searching we are assuming that it could be an issue with the Microsoft applications or macro settings of the user. But not sure about it.
    Regards,
    Lakshmi Venigala.

  • Run-time error '429':Active X component can not create an object

    Hi Folks,
    I am using some VBA code to run logic in BPC for Excel. When i try to click on VBA button, It's giving the below error.However when i am trying to execute same from server it is working fine. Accessing from BPC client only we are facing this problem.
    Code have no issues. Is there any specific thing need to mentioned in client when we use VBA programming? Basically we used the VBA program to create the id's in BPC for Excel. So that it will automatically created on fly. Testing was fine interms of working in Server.
    " Run-time error '429':Active X component can not create an object ."

    Hi,
    Are you trying to add a member into the dimension from excel? As you said that this has been already tested in the server and is working fine, I believe, you have taken care of everything.
    Now, coming to the point, when you are adding a member in the membersheet, you need to process the dimension. This requires the admin rights. So, please check the task profile of the user ID, with which you are trying from your system. This user ID should be the primary admin.
    Hope this helps.
    Additionally, can you please elaborate on the steps on what you followed for adding a member from the excel directly?

  • Run-Time Error '6' Overflow within BEx Analyzer after copy/paste query

    Hi all,
    User is getting a "Run-time error '6' overflow" message which is caused after copying any query in a 'query pack' to any free row/column within the same sheet (BEx Analyzer). This "query pack" has multiple queries within one sheet and covers 1800 rows so there is enough free space left for copying one of the queries to another position in the same sheet.
    Microsoft Office Excel SP2 is used which is part of MS Office professional edition 2003. The BW version is 3.0.
    Please let me know if more details are required or above mentioned error message is recognized and can be explained.
    Thanks and kind regards,
    Raymond Flaton

    Hi VRV,
      This error is caused whenever there is memory issue. If your query is built on a cube which has a BWA index then this problem can be related to the issue with the BWA server. Check your BASIS team to check if there is memory issue presently in the BWA server.
    Sometimes the issue is temporary, where the several users accesing the reports to fetch data from BWA lead to this type of error as the BWA gets overloaded. Try exiting the report and run it after some time again.
    Alternatively you can also try restricitng the selection for fetching the data in the report as suggested.
    Thanks

  • VB Run time error '1004' in SEM BPS layout

    Hi,
    When I run a layout and activate the standard SAP macro, a Visual basic error message " Run Time error '1004' " appears.
    This error has been resolved after I made the following settings.
    TOOLS --> MACRO --> SECURITY --> Trusted Publishers --> check flag "Trust Access to Visual Basic Project".
    Does each user has to make this setting? Isn't there a setting for SAP macros to attach a trusted digital signature that automaticaly takes care of this error w/o having each user make this setting?
    I heard, a setting has to be made in Trusted Publishers to accept "SAPAG".
    But, I don't see this in Trsuted publishers list.
    I don't see this error in Excel 97 but in Excel 2003. How do I know which versions of excel gives this error to educate our users about this error.
    Appreciate any help.

    Hi anil1121,
    Since this is not a vb.net issue, and based on your description, I would recommend you post this issue in
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=officegeneral forum to get supports.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Run-time error '13' in ALV report

    Hello,
    In a standard ALV report we are using Excel report layout. The Excel contains a table and a graph. The excel table refreshes with no errors.
    In order to refresh the graph data we recorded a VB Macro but when we run the report (which runs the macro) we are getting the error:
    run-time error '13'
    When we open the excel report from our workstation (not trough the SAP system) we are not getting this error.
    Please Advice,
    Amir

    hi
    this is a bug(error )in microsoft excel:
    Run-time error:'13' Type Mismatch" error message when you click a macro or a function on a menu in Excel 2002
    Please chec kthis link for the details:
    http://support.microsoft.com/kb/821292
    Regards
    Neha

Maybe you are looking for