VBA - Run-time error '32809'

I got an xlsm excel file. when open I got the following error window. Defug button greyed out. When clicking on End button, then error window is not closed. I have to use End Task to close it. It is the same error on different machines running on Windows
7 64bit with MS Office 2010. any suggestion?
Run-time error '32809'
Application-defined or object-defined error

I'm not sure what you mean by "the same condition" but obviously there is something different about all the setups that fail and the one that works. Is the Office version in all the setups that fail also Office-32 2010?  However without knowing
what the error is in what I assume is a locked project it is impossible to tell you what the problem is.
Did you contact the author as I suggested before?

Similar Messages

  • 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

  • EVDRE VBA run-time error 1004

    Hi experts!
    I try use a very simple code:
    Dim aaa As String
    aaa = "=EVGTS($B$2;$B$45;""CATEGORY:""&$D$2;""CHARGE_TY:""&$B$5;""CLNT_BRND:""&$B$6;""P_ACCT:""&""I"";""P_CC:""&$B$8;""P_ENTITY:""&$B$9;""P_SM:""&$B$10;""TRAF_KIND:""&$B$11;""QUAN_TY:""&$B$12;""MEASURES:""&$B$13;""TIME:""&""2012.TOTAL"")"
    ActiveSheet.Range("a1").Value = aaa
    It doesn't work. I get "Run-time error '1004': Application-defined or object-defined error". Without "=", VBA writes this text to cell
    Dim aaa As String
    aaa = "EVGTS($B$2;$B$45;""CATEGORY:""&$D$2;""CHARGE_TY:""&$B$5;""CLNT_BRND:""&$B$6;""P_ACCT:""&""I"";""P_CC:""&$B$8;""P_ENTITY:""&$B$9;""P_SM:""&$B$10;""TRAF_KIND:""&$B$11;""QUAN_TY:""&$B$12;""MEASURES:""&$B$13;""TIME:""&""2012.TOTAL"")"
    ActiveSheet.Range("a1").Value = aaa
    And if I add "=" manually to cell it works. What's wrong? How can I fix it? Please advice.
    ActiveSheet.Range("a1").Formula = aaa
    instead of
    ActiveSheet.Range("a1").Value = aaa
    also doesn't work
    Regards,
    Maxim

    It's funny but it's works System replaces "," with ";" in cell and this code works:
    Range("A1").Select
    ActiveCell.Formula = _
    "=EVGTS($B$2,$B$45,""CATEGORY:""&$D$2,""CHARGE_TY:""&$B$5,""CLNT_BRND:""&$B$6,""P_ACCT:""&""I"",""P_CC:""&$B$8,""P_ENTITY:""&$B$9,""P_SM:""&$B$10,""TRAF_KIND:""&$B$11,""QUAN_TY:""&$B$12,""MEASURES:""&$B$13,""TIME:""&""2012.TOTAL"")"

  • 2013 Run-Time error 32809 on macro

    I am unable to have a file open correctly that has 'automatic macros'.  The file work in 2010 and now I have the run-time error.  This workbook is created by outside source and is password protected.
    Thanks for any assistance.

    Do a bit of searching. It appears that this error is most likely caused by a MS security patch and is related to things like ActiveX. I'm not sure if there are fixes that don't require access to the file's design. If so, you should be able to get it working
    again. If not and you can't get into the file, then you really have no option except to push the fix back to the developers who have the password.
    It's also possible that there's something about the design that is incompatible with 2013 and you're back to needing the devs with the password to fix the problem since it's code that's borked.
    I feel you pain. Just curious, how do you fit in? Are you an end user stuck with something not working (and is so I REALLY feel your pain) or are you somehow tied into the development?

  • Run-time error '32809'

    Excel 2013
    we have this worksheet that was created with old Excel version. it has macros (half the size of the file is a macro). whenever we click on the macro button we get:
    Runt-time error '32809':
    Application-defined or object-defined error
    when I click on the "debug" button, it says something about
    Private Sub CommandButton14_Click()
    Sheets("EAST shares (Pack)").Select
    End Sub
    with "Sheets("EAST shares (Pack)").Select"
    line highlighted in yellow. the weird thing is on a fresh install of Office 2013, the worksheet works fine. but if I close it then open it again, the above problem occurs.

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Excel, I'll move your question to the MSDN forum for Excel
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Thanks
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Instant Client with ADO on VBA -- Run-time error '-2147467259 (80004005)' -

    VB 6.0 uses Instant Client and Win XP Pro sp2 operating system. The MDAC has been checked and it is 2.8 sp1.
    The same project works on Win 2000 pro.
    Installing the run-time, thick, client makes the application work.
    We are getting the following error:
    Run-time error '-2147467259 (80004005)';
    Oracle error occurred, but error message could not be retrieved from Oracle.
    Any ideas?
    We have tried privleges, ORACLE_HOME variable, all kinds of things. Bring us your suggestions we are weary.....
    Thanks,
    Linda

    It looks like some sort of overflow. Instant Client does not support ADO.NET yet, if that is what is causing the problem. I hope that helps.

  • Run-time error '429': ActiveX component can't create object

    HI,
    I am having the following error in my Excel VBA Run-time error '429': ActiveX component can't create object  when running the following code:
    Dim objDistiller As New ACRODISTXLib.PdfDistiller6
    objDistiller.FileToPDF2 filePath & ".PS", filePath & ".PDF", "T:\Templates\PDFSettings\Standard.joboptions", 1
    This code has been working for years on all our systems, but due to recent security issues our administrator changed all user accounts to not have local administrator rights and now when we run this code we get the above error message.
    I have had a look at DComcnfg.exe to try and get it to work by setting the default property permissions to allow access by Everyone but I am still getting the error.
    Any help would be greatly appreciated.
    Regards.
    Shane Chapman.

    Hi Shane,
    Here is another way to create PDF with Macro using another API than Distiller. This API is faster too.
    Probably this post is not of interest anymore but here is how I have done it:
    1. Download PDFCreator: http://sourceforge.net/projects/pdfcreator/
    2. Use the following Macro:
    Option Explicit
    Sub printPDFmacro()
    'Author : Ken Puls (www.excelguru.ca)
    'Macro Purpose: Print to PDF file using PDFCreator
    ' (Download from http://sourceforge.net/projects/pdfcreator/)
    ' Designed for early bind, set reference to PDFCreator
    Dim pdfjob As PDFCreator.clsPDFCreator
    Dim sPDFName As String
    Dim sPDFPath As String
    '/// Change the output file name here! ///
    sPDFName = "Facture-" & nclient2 & " le " & Format(Date, "yyyy-mm-dd") & ".pdf"
    sPDFPath = "E:\Partenaire Scolaire\Comptabilite\Factures"
    PDFFileName2 = sPDFPath & "\" & sPDFName
    Set pdfjob = New PDFCreator.clsPDFCreator
    With pdfjob
    If .cStart("/NoProcessingAtStartup") = False Then
    MsgBox "Can't initialize PDFCreator.", vbCritical + _
    vbOKOnly, "PrtPDFCreator"
    Exit Sub
    End If
    .cOption("UseAutosave") = 1
    .cOption("UseAutosaveDirectory") = 1
    .cOption("AutosaveDirectory") = sPDFPath
    .cOption("AutosaveFilename") = sPDFName
    .cOption("AutosaveFormat") = 0 ' 0 = PDF
    .cClearCache
    End With
    'Print the document to PDF
    ActiveSheet.PrintOut copies:=1, ActivePrinter:="PDFCreator"
    'Wait until the print job has entered the print queue
    Do Until pdfjob.cCountOfPrintjobs = 1
    DoEvents
    Loop
    pdfjob.cPrinterStop = False
    'Wait until PDF creator is finished then release the objects
    Do Until pdfjob.cCountOfPrintjobs = 0
    DoEvents
    Loop
    pdfjob.cClose
    Set pdfjob = Nothing
    end sub
    Have any questions, just have to poke me.
    Michael

  • Run time error 2147467259

    Hello,
    while opening a query/ a workbook in the bex I get an error message "Run time error 2147467259 - The method 'position' for the object 'commandbar' was aborted."
    Somebody has an clue what this is about? I know this error from VBA but I don't know how to solve it in relation to BEX...
    Thanks in advance.
    hansi

    Hi ,
    Pls check below threads , may be it will helpful.
    https://forums.sdn.sap.com/click.jspa?searchID=20998303&messageID=6674385
    https://forums.sdn.sap.com/click.jspa?searchID=20998303&messageID=6862348
    Thanks & Regards,
    Ramnaresh.P.

  • 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 '1004' Application-Defined or object-defined error

    Hello friends,
    My requirement is to make the cells under Columns Actual, forecast and target (Dimesnion Category) Locked.
    I've used various methods like GetOnlyRange but it didnt work.
    Now, i've selected all the cells of the sheet, where user can input and made them unlocked. ( from Right-click>FormatCells>Protection tab-->Locked checkbox unchecked)
    Then, go to "review" tab, click "Allow Users to edit Ranges",-> Protect Sheet---> ticked "Unlocked Cells"
    Then go to WorkBook Options and set a password for the worksheet.
    But on expand, I'm facing Run-time error '1004' Application-Defined or object-defined error.
    Please help.
    Please help.

    Hi,
    I think that  is VBA Runtime error, you can fix these errors by downloading in various sites.
    http://www.articlesbase.com/data-recovery-articles/vba-runtime-error-1004-application-defined-or-object-defined-error-fix-these-errors--1339060.html
    You can try with the above link.  I hope this could solve your problem.
    Regards,
    B.S.RAGHU

  • Run-time error '13':  Type mismatch

    There are A and B excel files.
    And two different POV-dimension in two excel files
    VBA code below:
    Dim vtGrid As Variant
    Dim vtDimNames As Variant
    Dim vtPOVNames As Variant
    x = HypRetrieve("sheet1")
    x = HypUseLinkMacro(True)
    Range("b10").Select
    x = HypGetSourceGrid("sheet1", vtGrid)
    ref = HypMenuVRefresh()
    x = HypGetPOVItems(vtDimNames, vtPOVNames)
    MsgBox (vtPOVNames(6))
    Range("a3").Value = "date: " & vtPOVNames(6) & " - " & vtPOVNames(3)
    Range("a4").Value = "dep : " & vtPOVNames(0)
    There is not any attribute dimension in pov A excel file.
    There is one attribute dimension in pov B excel file.
    The same VBA code excute is normal in A excel file.
    But the same VBA code excute is "run-time error '13': Type mismatch " in B excel file.
    The error '13' in the row of MsgBox (vtPOVNames(6)).
    Is attribute dimension in pov cause this question?
    And how did I solve this question?

    Based on where the error is occurring, it looks like the value returned by vtPOVNames(6) is not defaulting to a string datatype for the msgbox.
    Try 'cstr(vtPOVNames(6))' to force conversion of the value into a string. Also, you may want to test for nulls using IsNull() and empty variant values using IsEmpty().
    It doesn't look like the code you posted shows vtPOVNames being populated. If you're populating the names yourself, you could always use a string array instead of a variant array. Just dim the string array using a statement such as, "Dim strPOVNames(6) as String" or "Dim strPOVNames() as String" in case you need to ReDim the array later to size it for a non-fixed set of POV names.
    Hope this helps.

  • 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)

  • Raising Run Time Error '440' with  OO4O 2.2.1.0.0

    Hello everybody,
    I do not have much experience with ORACLE, but there is a problem I can not solve by myself:
    Asking my ORACLE DB (Oracle8i Enterprise Ed. Rel. 8.1.7.1.0 - Production with Partitioning option JServer Rel. 8.1.7.1.0) by SQL*Plus Rel. 3.3.4.0.0 with the following SQL-string everything works fine:
    SELECT E.APPROVED_VALUE, A.CI, E.END_DATE, Max(E.START_DATE)
    FROM CPC_FLAT_ANAG A, CPC_PRICES_COSTS_BD E
    WHERE A.CI = E.CI
    GROUP BY E.END_DATE, E.APPROVED_VALUE, A.CI
    HAVING ((E.END_DATE IS NULL) AND ((A.CI Like '3AL78815AB**')))
    ORDER BY Max(E.START_DATE) DESC;
    But when connecting ORACLE with VBA and OO4O, there raises the following error:
    Run Time Error 440: Error in SQL statement, ORA-0911: invalid character
    VBA-Code: (processed within an Excel97-Macro, Windows NT 4.00.1381)
    Option Explicit
    Sub Ask_DB
    Dim objDataBase As Object
    Dim objsession As Object, OraDynaSet As Object
    Dim strSQLAbfrage as String, strZeichen As String
    ' 1. Step: Create a reference to the OO4O dll
    Set objsession = CreateObject("OracleInProcServer.XOraSession")
    ' 2. Step: Create a reference to my database
    Set objDataBase = objsession.OpenDatabase("Oracle-DB", "user/passw", 0&)
    ' 3. Step: create SQL string
    strZeichen = vbCrLf 'vbNewLine <-- maybe I have to use another Char for CrLf?
    strSQLAbfrage = "SELECT E.APPROVED_VALUE, A.CI, E.END_DATE, Max(E.START_DATE)" strSQLAbfrage = strSQLAbfrage & strZeichen & "FROM CPC_FLAT_ANAG A, CPC_PRICES_COSTS_BD E"
    strSQLAbfrage = strSQLAbfrage & strZeichen & "WHERE A.CI = E.CI"
    strSQLAbfrage = strSQLAbfrage & strZeichen & "GROUP BY E.END_DATE, E.APPROVED_VALUE, A.CI"
    strSQLAbfrage = strSQLAbfrage & strZeichen & "HAVING ((E.END_DATE IS NULL) AND "
    strSQLAbfrage = strSQLAbfrage & "((A.CI Like '3AL78815AB**')))"
    ' lateron there might be additional part numbers
    strSQLAbfrage = strSQLAbfrage & strZeichen & "ORDER BY Max(E.START_DATE) DESC;" & strZeichen
    Debug.Print strSQLAbfrage
    Debug.Print Len(strSQLAbfrage)     ' <-- what about max. length of SQL-query?
    ' 4. Step: Retrieve the results from Oracle
    Set OraDynaSet = objDataBase.DBCreateDynaset(strSQLAbfrage, 0&)     ' <-- Error occurs!!!
    ' 5. Step
    ' ............ process results is not possible .....
    Fehler:
    Set OraDynaSet = Nothing
    Set objsession = Nothing
    Set objDataBase = Nothing
    End Sub
    Can anybody help me?
    Thank you
    Rudi

    Try getting rid of the semicolon at the end.

  • Run time error 13

    Hi,
    When several users try to access their input templates, they                                                                
    receive this Microsoft Visual Basic message run time error 13. They have been able to                                                                
    access the template in the past, but are having problems with the new                                                      
    category.
    Please Advice
    Thanks,
    Raghu.

    Hello Raghu
    Not sure if you get this error message due to the same reason that we do, but this is our solution/workaround for it:
    First uninstall the Cpm client.
       ·         Remove settings in the registry.  Start - Run - Regedit: VB
       and  VBA program settings and outlooksoft (of if it's calld SAP)
       ·         Rename your local outlooksoft folder located in my documents
       (outlooksoftold for example. )
       ·         Install the cpm client
    Best regards
    Jonas

  • XAI Schema Editor: Run-Time Error 380

    I created a new Page Maintenance object that I am planning to expose via XAI. I deployed the compiled JAR to my local development copy of CC&B. When I started Schema Editor and tried to create a new service schema, I was able to find my service in the list of available services. However, when I chose my service, I received the error "Run-time Error '380': Invalid property value". Now every time I restart Schema Editor and try to create a new service schema, I get the same error, even before I can select my service from the list.
    Has anyone run into this problem before?

    Do you mean when you attempt to select a Service? i.e. from Schemas->Create->Service?
    If so, the recently/last selected/searched service is written to the registry in the following path:
    HKEY_CURREN_USER\Software\VB and VBA Program Settings\CISXAI\Recents
    HKEY_USERS\{Class ID}\Software\VB and VBA Program Settings\CISXAI\Recents
    under key 'G3Service'.
    Empty the key value or replace it with some known service name.
    Note: Backup your registry before making any changes.

Maybe you are looking for