+ Reply to Thread
Results 1 to 2 of 2

Error running validation code

  1. #1
    Registered User
    Join Date
    01-13-2011
    Location
    Bay Area, CA
    MS-Off Ver
    Excel 2007
    Posts
    43

    Error running validation code

    Hi All,

    I'm running a code where I create 4 different dropdown lists in a range of cells. However, on one of the lines I get an error "Application-defined or object-defined error." The code looks exactly the same as the 3 lines above it just with different cells it's being assigned to. Any advice would be appreciated. Here's my code:


    Please Login or Register  to view this content.


    Thanks in advance
    Last edited by alexwgordon; 08-30-2011 at 07:26 PM.

  2. #2
    Registered User
    Join Date
    01-13-2011
    Location
    Bay Area, CA
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Error running validation code

    I figured out what the issue was. While calling to perform the dropdown list of a certain cell D11, I realized earlier in my code that I had not counted that cell in the lines:

    Please Login or Register  to view this content.
    It originally read C12:H20. Changing the commands to encompass all the cells to be validated solved the problem.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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