+ Reply to Thread
Results 1 to 4 of 4

Debug issue Run-time error '91'

  1. #1
    Registered User
    Join Date
    04-12-2007
    Posts
    57

    Debug issue Run-time error '91'

    All of a sudden I am getting a run-time error on a program I wrote quite a few years ago. I am downloading an .xlsx file from google drive. It has worked fine for years, recently it stopped and gives me a run-time error. Sometimes it works for me and other times it does not. But it won't work at all for a coworker on her computer. I can't figure this out. It starts here and fails on the wb.activate

    HTML Code: 

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Debug issue Run-time error '91'

    Probably this, modify the line to read like the one marked in red

    Please Login or Register  to view this content.
    Last edited by Keebellah; 06-08-2016 at 03:38 PM. Reason: Typing error
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    04-12-2007
    Posts
    57

    Re: Debug issue Run-time error '91'

    That solved that. Thanks Keebellah!

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Debug issue Run-time error '91'

    You're welcome.

+ 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] How to Debug-Run Time error- 1004 Application-Defined or object defined error
    By joyhampton in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2014, 05:37 PM
  2. VBA Code Runs in Debug Mode But Returns Type Mismatch Error Outside Debug Mode
    By valerie.k.chiang in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-24-2014, 03:48 PM
  3. [SOLVED] Debug: Run-time error '438'
    By xxgirlinbluexx in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2013, 06:00 AM
  4. [SOLVED] Run Time Error in coding - Can someone help me debug please?
    By DMacSTB in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-31-2013, 09:30 AM
  5. [SOLVED] Run Time Error Debug help
    By AutoCAD Guy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-16-2013, 09:44 AM
  6. Replies: 3
    Last Post: 03-29-2012, 01:58 PM
  7. debug issue
    By savithrianandh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-13-2007, 09:51 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