+ Reply to Thread
Results 1 to 4 of 4

Run time error 50034 method export of object vb component failed

  1. #1
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    105

    Thumbs up Run time error 50034 method export of object vb component failed

    I keep getting this error on this line

    Please Login or Register  to view this content.
    I have scanned for registry errors but it is still happening can anyone help?

    Thank you in advance
    Libby
    Last edited by Libster78; 01-31-2010 at 09:08 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Run time error 50034 method export of object vb component failed

    Have you ticked Trust access to Visual Basic project?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    01-21-2010
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    105

    Re: Run time error 50034 method export of object vb component failed

    I think so. In 2007 in the trust centre I have allowed all acess to everything so I presume I have.
    I'll double check. The rest of my code within the module works too.

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Run time error 50034 method export of object vb component failed

    Libster78
    dont you think this is a duplicate post!!!!!


    you will need the enabled the reference "Microsoft Visual Basic for Applications Extensibility 5.3 Library"
    have a look at the latest attachment !!!!
    http://www.excelforum.com/excel-prog...modules-2.html
    the reason why is because you have closed the workbookis the previous sub !!!!!!
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1