+ Reply to Thread
Results 1 to 2 of 2

Automation Error - Data Returned from Visible Row Fails to Load to Form Combobox

  1. #1
    Registered User
    Join Date
    04-27-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    33

    Automation Error - Data Returned from Visible Row Fails to Load to Form Combobox

    Hello,

    I'm using Excel 2007. When I select from "Bin Number" combobox, the date field is populated with filtered and copied date. But when I select a date from the "Intake Date" combobox, the filter runs but the data in column “B” from the visible rows returned from autofilter is not loaded into the "Fish Tag No. From Bin" comboxbox if date 20/09/2014 is selected from "Intake Date" combobox. If I select 01/03/2015 from the "Intake Date" combobox the Fish Tag No. From Bin comboxbox loads properly. It appears to me that Excel is not distinguishing between the autofiltered visible Bin Number 2 for date 20/09/2015 and the hidden Bin Number 2 for date 01/03/2015 so Excel appears to loop, I have to restart Excel and before Excel closes before restart I get an Automation Error: Object has disconnected from its clients.

    I've narrowed it down to Excel not distinguishing between same Bin Number and different date by changing the source data, so if I use Bin Number 3 with two different dates in source data, automation error arises. This error only arises if the same Bin Number with two different dates exists in the source data.

    I would appreciate any help that could be offered. Thanks in advance.

    Test Daily Bin Temp.xlsm

  2. #2
    Registered User
    Join Date
    04-27-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Automation Error - Data Returned from Visible Row Fails to Load to Form Combobox

    After much research, I found the solution for this problem. Many thanks to those who attempted to solve this problem.

    The solution was to use the same last row variable for the autofilter and the adding of values to the DBTIntakeDate combobox. The changes are shown in red in the DBTIntakeDate combobox change event below.

    Please Login or Register  to view this content.

+ 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. Error checking of visible filtered data - Display text in textbox if no data visible
    By cocobean in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2012, 12:58 AM
  2. Load Userform ComboBox with filtered data
    By anandvh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-20-2012, 05:34 PM
  3. load data into combobox from external workbook
    By MartyZ in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-08-2012, 05:20 AM
  4. Run-time error 1004 on Form Load
    By vaximily in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-15-2011, 05:15 PM
  5. How to make a Data Miner auto-refresh a page that fails to load?
    By pink in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-13-2009, 05:53 PM

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