+ Reply to Thread
Results 1 to 3 of 3

run time error 91 object variable or with block variable not set

  1. #1
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    run time error 91 object variable or with block variable not set

    i have 4 labels

    one label date and another time

    how can insert them in mysql

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: run time error 91 object variable or with block variable not set

    what do you mean by
    Please Login or Register  to view this content.
    lbl14 is lbl14 so the .object does not mean anything.

    change to
    Please Login or Register  to view this content.
    do the same for the next two lines too.
    Last edited by mehmetcik; 09-06-2014 at 05:09 PM.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: run time error 91 object variable or with block variable not set

    Is this the same question as you have in your other thread?
    http://www.excelforum.com/excel-prog...he-regues.html
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. VBA Run-time error '91' Object variable or With block variable not set
    By mcmunoz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-19-2013, 06:07 AM
  2. Replies: 0
    Last Post: 04-16-2013, 07:15 AM
  3. Replies: 6
    Last Post: 12-21-2012, 08:03 AM
  4. Replies: 1
    Last Post: 09-25-2012, 08:03 PM
  5. [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

Tags for this Thread

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