Results 1 to 3 of 3

Thread: Data validation and Auto-complete help on Microsoft Excel

  1. #1
    Join Date
    Jan 2012
    Posts
    58

    Data validation and Auto-complete help on Microsoft Excel

    I have looked at the discussions about this topic, and i can't help but feel someone must have created a better solution. does anyone know of a better solution. The problem is simple. First I have a chart of accounts list. Second I want to enter text that is likely to be in this list, and want auto-complete to save keystroke effort by scrolling to that place in the list, or at least auto-filling, so i can then just hit enter.

  2. #2
    Join Date
    Aug 2011
    Posts
    566

    Re: Data validation and Auto-complete help on Microsoft Excel

    I have a related question about this.How do you return, in VBA, a value to state whether Data Validation is in effect on a specified range. I can't find a way to programatically test whether a Validation object exists on a Range. Instead, the only way is to try and read a Validation property an d see if it returns the error "Object doesn't support this property or method". This is no good for operating on a Validation property if it exists but skip that code if it doesn't. Even using On Error Goto ... doesn't trap this error. 've tried looking for a 'HasValidation' type of property but nothing seems to exist. I've also tried using xlSpecialCells(xlAllDataValidation) but all this does is return all cells in the same column as the specified Range - because it treats 'no validation' as a validation - even though there is no Validation Object!!!

  3. #3
    Join Date
    Aug 2011
    Posts
    540

    Re: Data validation and Auto-complete help on Microsoft Excel

    Although data validation doesn't support auto-complete, there's a sample file here that provides a combo-box from which you can select one of the values from the data validation list. In the combo-box, you can enable auto-complete.

Similar Threads

  1. Replies: 4
    Last Post: 04-01-2014, 10:47 AM
  2. Data Validation not working in Microsoft Excel
    By Indudep in forum MS Office Support
    Replies: 2
    Last Post: 09-02-2012, 07:35 PM
  3. How to auto add total data in Excel
    By Rao's in forum Windows Software
    Replies: 1
    Last Post: 08-01-2012, 01:16 PM
  4. Replies: 6
    Last Post: 17-05-2011, 10:00 PM

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
  •  
Page generated in 1,713,572,785.19676 seconds with 17 queries