+ Reply to Thread
Results 1 to 7 of 7

Error Message 91

  1. #1
    Registered User
    Join Date
    11-30-2014
    Location
    Delaware
    MS-Off Ver
    2010
    Posts
    29

    Error Message 91

    Please assist,
    From the re-evaluate tab, when the update link is selected, the macro is looking for the changed name for this file.
    When the Run is selected, I receive Error message 91 Object Variiable BlockedAssigned Accounts March 1.xlsmAssigned Accounts March 1.xlsm

  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: Error Message 91

    I have taken a look at this for you and may have find where the issue lies, I'm just not sure why it is doing it. It seems that in both module 1 and 3, the following line errors out...
    Please Login or Register  to view this content.
    The bolded area is highlighted in the VBA code when the error happens.
    Haven't been able to figure out why it errors there, but after it loops through the 2nd or 3rd time is when the error occurs.
    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
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Error Message 91

    Hi Malisa,

    This is the first time that that code has failed - try this:

    Please Login or Register  to view this content.
    Malisa.xlsm
    Last edited by xladept; 02-23-2016 at 12:59 AM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Registered User
    Join Date
    11-30-2014
    Location
    Delaware
    MS-Off Ver
    2010
    Posts
    29

    Re: Error Message 91

    Thank you for your assistance.

    The only change I made from the initial document was the addition of the Roll up tab and I changed the name from mnunnley to Assigned Account March 1.
    I updated the code however I still receive the error message:

    Cannot run the macro" Assigned Accounts March 1. xlsm'!mnunnley'. The macro may not be available in this workbook or all macros may be disabled.

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

    Re: Error Message 91

    Assign one of the other codes to the button by right clicking on the button, then click Assign Macro and select one of the 2 macros listed. I have to do it when I open either of your 2 files, then it works.

  6. #6
    Registered User
    Join Date
    11-30-2014
    Location
    Delaware
    MS-Off Ver
    2010
    Posts
    29

    Re: Error Message 91

    Thank you for your help. This resolved the issue. Again you are truly a GENIUS. No one else was able to assist me with this post.

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

    Re: Error Message 91

    Thank you....although, it was a combined effort as 2 of us helped out.
    Glad it's all working for you now.

+ 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. An error message on open - a totally blank VBA message box
    By Mr_Tigas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-05-2013, 11:29 AM
  2. Error Message For Function Procedure WITHOUT using a message box
    By bmr8002 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2012, 02:01 PM
  3. Replacing run time error message with a different message
    By penny in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-14-2009, 10:51 AM
  4. Excel xmlHTTP object error message - system/runtime error
    By Porky2007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2007, 09:36 AM
  5. [SOLVED] replace VBA run-time error message with custom message
    By BEEJAY in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-14-2006, 11:05 AM
  6. Replies: 1
    Last Post: 02-17-2006, 12:10 PM
  7. [SOLVED] changing the message in an error message
    By The Villages DA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-18-2005, 01:34 PM

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