Home

Runtime Error 91 VBA

%3CLINGO-SUB%20id%3D%22lingo-sub-859479%22%20slang%3D%22en-US%22%3ERuntime%20Error%2091%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-859479%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20having%20trouble%20debugging%20this%20error%20code.%26nbsp%3B%20I%20did%20not%20write%20the%20code.%26nbsp%3B%20Not%20sure%20what%20to%20do.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-859479%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETraining%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-860191%22%20slang%3D%22en-US%22%3ERe%3A%20Runtime%20Error%2091%20VBA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-860191%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F410484%22%20target%3D%22_blank%22%3E%40Michell246%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat's%20the%20code%3F%3C%2FP%3E%3CP%3EWhen%20you%20get%20a%20runtime%20error%2C%20an%20error%20window%20pops%20up%20with%20options%20to%20End%20or%20Debug.%20When%20that%20window%20pops%20up%2C%20click%20on%20Debug%20and%20that%20will%20take%20you%20to%20the%20line%20causing%20that%20error%20and%20highlight%20it%20with%20yellow%20color.%20Examine%20that%20line%20and%20make%20sure%20that%20each%20object%20being%20used%20in%20that%20line%20is%20properly%20set.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Michell246
Occasional Visitor

I am having trouble debugging this error code.  I did not write the code.  Not sure what to do.

1 Reply

@Michell246 

What's the code?

When you get a runtime error, an error window pops up with options to End or Debug. When that window pops up, click on Debug and that will take you to the line causing that error and highlight it with yellow color. Examine that line and make sure that each object being used in that line is properly set.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies