Microsoft Visual Basic Runtime Error '91
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Thu, 20 Oct 2016 16:00:39 GMT by s_wx1206 (squid/3.5.20)
360 games PC games object variable or with block variable not set vba Windows games Windows phone games Entertainment All Entertainment
Object Variable Or With Block Variable Not Set Vb6 Error
Movies & TV Music Business & Education Business Students & educators
Error 91 Object Variable Or With Block Variable Not Set Access
Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet http://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_other/when-opening-word-receive-runtime-error-91/a97aea08-e104-4540-892d-804c38829be6 Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All https://support.microsoft.com/en-us/kb/327245 Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
Object variable or With block variable not set If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you http://www.vbforums.com/showthread.php?683129-RESOLVED-Run-time-error-91-Object-variable-or-With-block-variable-not-set can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 9 of 9 Thread: [RESOLVED] Run-time error 91 Object variable or With block variable not set Tweet Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Jul 2nd, 2012,02:58 AM time error #1 gracehskuo View Profile View Forum Posts Thread Starter Fanatic Member Join Date Nov 2006 Posts 584 [RESOLVED] Run-time error 91 Object variable or With block variable not set hi,please help with error message code Run-time error 91 Object variable or With block variable not set Code: With cboempNo .clear Set rs1 = OpenRecordset("select distinct EmployeeNo From Employee,WHERE Status = 'Active'", adOpenStatic, adLockReadOnly) While Not rs1.EOF error message highlight time error 91 at this line cboempNo.AddItem rs1!EmployeeNo & vbNullString rs1.MoveNext Wend rs1.Close Set rs1 = Nothing End With Reply With Quote Jul 2nd, 2012,03:31 AM #2 seenu_1st View Profile View Forum Posts Just a Member! Join Date Aug 2007 Location India Posts 2,158 Re: Run-time error 91 Object variable or With block variable not set is this line ok? it shuld be DB.OpenRecordset isnt it? Code: Set rs1 = OpenRecordset("select distinct EmployeeNo From Employee,WHERE Status = 'Active'", adOpenStatic, adLockReadOnly) Seenu If this post is useful, pls don't forget to Rate this post. Pls mark thread as resolved once ur problem solved. ADO Tutorial Variable types SP6 for VB6, MsFlexGrid fast fill, Sorting Algorithms Reply With Quote Jul 2nd, 2012,03:33 AM #3 gracehskuo View Profile View Forum Posts Thread Starter Fanatic Member Join Date Nov 2006 Posts 584 Re: Run-time error 91 Object variable or With block variable not set seenu_1st: yes,is DB.OpenRecordset.The problem still the same. Reply With Quote Jul 2nd, 2012,03:39 AM #4 seenu_1st View Profile View Forum Posts Just a Member! Join Date Aug 2007 Location India Posts 2,158 Re: Run-time error 91 Object variable or With block variable not set can u try this Code: set rs1 = DB.OpenRecordset("select distinct EmployeeNo From Employee WHER