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.

Similar Messages

  • 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

  • Runtime Error '1004':, Method 'Intersect' of object '_Global' failed

    Hello
    I am getting a runtime error 1004, can someone tell me why?  I am getting the runtime error on the first Application.Intercept statement.
    Thank you for your help!
    smsemail
    Private Sub Worksheet_Change(ByVal Target As Range)
    Application.ScreenUpdating = False
    Application.DisplayAlerts = False
    If Not Application.Intersect(Target, Me.Range("A:A")) Is Nothing Then
    lastRow = ActiveSheet.Range("A" & Rows.Count).End(xlUp).Row
    If lastRow < 17 Then
    Exit Sub
    End If
    If lastRow > 67 Then
    lastRow = 67
    End If
    Else
    Exit Sub
    End If
    If Not Application.Intersect(Target, Me.Range("A17:A" & lastRow)) Is Nothing Then
    Application.EnableEvents = False
    If Application.WorksheetFunction.CountA(Worksheets("RIPS").Range("A17:A67")) = 0 Then
    Exit Sub
    End If
    If Application.WorksheetFunction.CountA(Worksheets("RIPS").Range("B17:B67")) = 0 And _
    Application.WorksheetFunction.CountA(Worksheets("RIPS").Range("C17:C67")) = 0 And _
    Application.WorksheetFunction.CountA(Worksheets("RIPS").Range("D17:D67")) = 0 Then
    Exit Sub
    End If
    If CmdExecute = True Then
    Exit Sub
    End If
    If CmdClear = True Then
    Exit Sub
    End If
    Worksheets("RIPSSummary").Activate
    lastRow = ActiveSheet.Range("A" & Rows.Count).End(xlUp).Row
    Set SourceRange = Application.Intersect(Range("A2:A" & lastRow), ActiveSheet.UsedRange)
    MsgBox "Source Range: " & SourceRange
    Worksheets("RIPS").Activate
    lastRow = ActiveSheet.Range("A" & Rows.Count).End(xlUp).Row
    Set TargetRange = Application.Intersect(Range("A17:A" & lastRow), ActiveSheet.UsedRange)
    MsgBox "Target Range: " & TargetRange
    Exit Sub
    wsDeleted = False
    For Each acell In SourceRange.Cells
    RecordFound = True
    If Not IsEmpty(acell.Value) Then
    Set C = TargetRange.Find(acell.Value, LookIn:=x1values)
    If C Is Nothing Then
    RecordFound = False
    End If
    If RecordFound = False Then
    wsDeleted = True
    For Each Worksheet In Worksheets
    If Worksheet.Name = acell.Value Then
    Worksheet.Delete
    End If
    Next Worksheet
    End If
    End If
    Next acell
    If vbKeyDelete Or _
    vbKeyClear Then
    r = lastRow
    Do Until r < 17
    If Worksheets("RIPS").Range("A" & r).Value = "" Then
    Rows(r).Delete
    End If
    r = r - 1
    Loop
    End If
    Application.EnableEvents = True
    End If
    Application.ScreenUpdating = True
    Application.DisplayAlerts = True
    End Sub

    It should work but maybe there's something about your workbook we can't see.
    In passing generally best not to disable screenupdating, alerts or events unless need to do so. More importantly though you should ensure they always get reset. As written you have several Exit Sub's before any code that resets them. Also in case of an error
    consider resetting them in an error handler.

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

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

  • Opening Input Schedule getting Run Time Error -1004

    Hi
    When i am opening few Input Schedules , i am getting this error message:
    Run Time error -1004.
    Cannot run the Macro 'auto open'. The Macro may not be available in this workbook or all macros my be disabled.
    But when i am  clicking on the END button in the Pop Up Window, i can go ahead with my Input Schedules.
    Can you please throw some idea on the same.
    Regards
    Viv

    Hi Nilanjan
    Yeah i have saved it once in a xltm format through ParknGo option. But now i have savIing it the Input Schedule Folder in the following Path Location
    C:\BPC\Data\Webfolders\<APPSET>\<APPLICATION>\EEXCEL\INPUT SCHEDULES.
    So when i am opening the same from the above location i am getting the error.
    Now i have change the name and save it as a xlt format and still getting the error.
    Looking forward .
    Thanks
    Viv

  • Run-Time error 1004 when VBA run Text-To-Column

    Expert,
      I got error message 1004 said "Excel can convert only column at a time, The range can be many rows tall but no more than one column wide, try again by selecting cells in one column only. my VBA code is this. If I copy B5 only, the Text-To-Column
    is working. can you help ?
    Sheets("Sheet1").Range("B5:E300").Copy
        Sheets("Sheet2").Select
        Range("A2:E300").PasteSpecial xlPasteAll
        Columns("B:M").Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
        Application.CutCopyMode = False
        Selection.TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _
            TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _
            Semicolon:=False, Comma:=True, Space:=False, Other:=False, FieldInfo _
            :=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 1), Array(6, 1), _
            Array(7, 1), Array(8, 1), Array(9, 1), Array(10, 1), Array(11, 1), Array(12, 1)), _
            TrailingMinusNumbers:=True
    Thanks
    James Liang

    Re:  text to columns error
    You have four columns selected when you call text to columns, so ...
    Replace the word "Selection" with Range("A1:A300") so it looks like...
      Range("A1:A300").TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _
    The above is my guess as to what you want to work with; I didn't experiment with the rest of the code.
    Jim Cone
    Portland, Oregon USA
    free & commercial excel programs (n/a xl2013)
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

  • Cisco CRS Historical Reports error "run time error 364 application defined or object-defined error"

    Hi All,
    we are getting an error when we open historical report

    Hi;
    The 713 error generally means something is not installed correctly for the runtime.
    How did you deploy the runtime to the client system?
    Regards,
    Jonathan

  • Run-time error '-2147417848'

    Hello,
    i am facing very strange problem when i excute query in BEX Analyzer. Vendor characterstic is displaying for all the row value Not assigned. i have checked the Vendor wheather it is having any data or not. Vendor is having data.
    i found one thing wrong with vendor characterstic in Bex when i try to view the values of that characterstic in left plan of BEx designer. i am getting one runtime error .
    Run-time error '-2147417848' method '' of object '' failed. when i click on ok on that screen. Bex is closing .
    Please help me out on this issue.
    Thanks in advance.

    Check the Display as property of the Vendor characteristic
    If it is Name make it Key.
    May be it is bcoz u have not maintained the master data for it.

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

  • Run-time error -2147417848 (80010108), method '~' of object '~' failed

    Hello
    I have an application written in VB6 which uses Crystal 9 Reports (RDC). The application is running on Windows XP, SP2.
    On this PC is .net Framework 2.0 installed and since then from time to time I get the message:
    run-time error -2147417848 (80010108), method '' of object '' failed
    But this error doesn't appear always, but when it happens, it happens always at setting the datasource
    example:
    repReport.Database.SetDataSource rsDummy
    Does anybody know why this is?
    Thank you for your help.

    Hi, Urs;
    Whereever the error is occuring, you should ensure you have the latest version of our files. For a client install, be sure that you are using the latest Merge Modules from our web site to deploy your application.
    If you are not getting the error on your development system, you may have newer files there than on the client.
    Regards,
    Jonathan

  • 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 '9' object variable or with bloch variable not set in WAD

    Iwas able to open the web application designer see some of the web tenplates that have done by me but now when i try to open any of the web templates its popping up me the msg Internal Error: No template standard property  . Run time error '9' object variable or with bloch variable not set
    What setting needs to be done
    Priya

    It got solved
    Wait until all the web items get loaded then own ur web template

  • Run-time error '91':object variable...

    Dear All Experts,
    When running an addon in VB6, I've got the error message : "run-time error '91' : object variable or with block variable not set". when clicking debug, the system highlighted with yellow line the code ' set oForm = oApplication.Forms.GetFormByTypeAndCount ("169", 1)
    What could be the possible cause of the error ? I have read this thread :
    https://forums.sdn.sap.com/click.jspa?searchID=7420237&messageID=952849
    but I actually did what suggested there. Please give advice. Thanks.
    Rgds,

    I managed to solve this question

  • XL Reporter Run-time Error '429' ActiveX component can't create object

    Hi Everyone,
    When trying to install XL Reporter on a Windows 2003 Server SP2 machine getting the following Error:
    XL Reporter
    Run-time error '429':
    ActiveX component can't create object.
    Did anyone get this error? Please advise of any steps we can try to resolve.
    Kind Regards,
    Kafil

    Dear Friend,
                 I had described the problem to our technical support team, and they replied as follows u2013
    They solved the Script related error by several stages.
    They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
    Then they tried by installing the following patches from Microsoft u2013
    http://support.microsoft.com/kb/949140
    Windows Script 5.7 for Windows XP
    http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
    Windows Script 5.6 for Windows Server 2003
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
    Windows Script 5.6 for Windows XP and Windows 2000
    The internal matter to this problem was about the following DLL and its version u2013
    C:\WINDOWS\system32
    vbscript.dll
    5.5.0.8820
    Desired
    5.6.0.8820
    Check, if the information helps you.

Maybe you are looking for

  • Follow up to arcsines and J2ME(saving the table)

    ok, I've got a table I can only generate on my PC, but I need to somehow package it with a midlet, and have the midlet open it. Midlet's don't support serialization, only persistance(which can only be saved and read on the phone), or any direct file

  • Line item display problem from table

    Hi experts...... I am strucked up in my report  with a problem , document no.(BELNR)  for corresponding bkpf has four line item  in BSEG table, BUZEI                      GJAHR  BUZEI   KOART  DMBTR           HKONT                                    

  • How do I connect two apple compuiters

    I would like to connect two apple computers together - how can I do it.

  • Missing ethernet option in TCP/IP settings

    I just got a broadband connection... When I plugged it in and went to configure it in CtrlPanel > TCP/IP I saw that the only options for "Connect via" were PPP and AppleTalk. How can I get the drop down list to display Ethernet... Thanks in advance.

  • How can we add customize seardh help in standard tables?

    Hi, Gurus, How can we add / assign customize Search Help to standard tables as my knowledge this is working fine in SAP 4.60. Where as i was not allowing us to add a search help to its data element is there any alternate way to add if give me your su