+ Reply to Thread
Results 1 to 3 of 3

VBA - Run-time error '91' - Object variable or With block variable not set

Hybrid View

  1. #1
    Registered User
    Join Date
    12-02-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    VBA - Run-time error '91' - Object variable or With block variable not set

    Hi all! Having an issue with the following error. I receive this error every single time I open excel. I also receive this error while attempting to use my hyperion essbase add-in. It originally started while simply creating a macro / button to do a simple retrieve data function within hyperion.

    Now I can't get rid of this error. I've tried the majority of suggestions I could find on google, and nothing!

    I removed all my macros, so I don't have any macros that can be executed, unless there is something I can't see. I'm still quite basic on the VBA / Macro side of excel, so any simple explanations would be extremely helpful.


    Capture.JPG

    You can also see that I don't have anything in my Macros at the moment that should be causing this error, that is why i'm confused.

    Cap2.JPG

    Capture3.JPG

    Thanks guys!

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: VBA - Run-time error '91' - Object variable or With block variable not set

    2 of the 1st 3 listed in the project window have code in them, I know because I use those 2. I'm not sure what the top one is as it is PW protected. The 3rd one, VBAProject(FUNCRES.XLAM) is probably code for a Ribbon Button.
    So, there is still some code in there in places. Double click each sheet, workbook, module etc. to be sure there is no left-over code.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    12-02-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: VBA - Run-time error '91' - Object variable or With block variable not set

    i deleted my personal macro workbook in XLSTART folder and it fixed the problem. Thanks all

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] run time error 91 object variable or with block variable not set
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-06-2014, 05:16 PM
  2. Replies: 0
    Last Post: 04-16-2013, 07:15 AM
  3. Run-time error 91 - Object variable or with block variable not set
    By twckfa16 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2012, 06:05 PM
  4. Replies: 6
    Last Post: 12-21-2012, 08:03 AM
  5. Replies: 1
    Last Post: 09-25-2012, 08:03 PM
  6. [SOLVED] Intermittent Run-time Error 91: Object Variable or With Block variable not set
    By fraanchtoast in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-29-2012, 10:11 AM
  7. Run-time error '91': Object variable or With block variable not set
    By asreid2527 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-27-2009, 12:55 AM

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