Results 1 to 8 of 8

I m getting the error: Runtime error 91: “ Object variable or With block variable not set”

Threaded View

  1. #1
    Registered User
    Join Date
    05-17-2016
    Location
    Chennai
    MS-Off Ver
    2010
    Posts
    5

    I m getting the error: Runtime error 91: “ Object variable or With block variable not set”

    I was asked to design the work allotment process for the company. Work is allotted in the given manner: If suppose a task T1 is allotted to a person for 5 days, it should be displayed against his name for 5 consecutive days in the work allotment file. I have written a Visual basic code in MS Excel using macros in the third sheet - MAY of workallotment.xlsm and the tasks are in file tasks.xlsx . I m getting the error: Runtime error 91: “ Object variable or With block variable not set” while searching for the members name in workallotment.xlsm

    I have also tried setting the findrow variable like "set FindRowNumber = rngFindValue.Row" But I get a compiler error saying object required .I attach both the files workallotmetn.xlsm and tasks.xlsx
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Runtime Error 91 Object Variable or With Block not Set
    By wkddj51 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2015, 06:05 AM
  2. [SOLVED] Runtime Error "91" - Object Variable or With Block Variable not set
    By damidre in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-05-2013, 04:45 AM
  3. Runtime Error 91 - object variable or with block variable not set
    By 0celj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-23-2013, 09:40 PM
  4. runtime error 91 object variable or With block variable not set
    By tullemann in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2011, 01:27 PM
  5. Replies: 8
    Last Post: 02-17-2009, 02:24 PM
  6. Runtime error 91 - Object variable or with block variable not set
    By Christian411 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-04-2008, 08:05 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