Results 1 to 3 of 3

How to amend coding for Data Validation refer to a Named Range?

Threaded View

montroseite How to amend coding for Data... 10-14-2010, 01:26 PM
Leith Ross Re: How to amend coding for... 10-14-2010, 03:56 PM
montroseite Re: How to amend coding for... 10-15-2010, 09:35 AM
  1. #1
    Registered User
    Join Date
    02-27-2010
    Location
    KL
    MS-Off Ver
    Excel 2003
    Posts
    19

    How to amend coding for Data Validation refer to a Named Range?

    Dear Admin,

    I am doing a combo box so that my data validation cell have so called Auto complete function. However, I don't not know how to amend a small part of coding to suit my needs. Please refer to below:

    If Target.Validation.Type = 3 Then
        Application.EnableEvents = False
        'get the data validation formula
        str = Target.Validation.Formula1
        str = Right(str, Len(str) - 1) ' IF MY VALIDATION USING CELL REF, IT IS WORK, BUT_
        ALL MY VALIDATION USING NAMED RANGE, MAY I KNOW HOW TO AMEND IT TO    SUIT MY NEEDS?
    Please advice me ! Thanks
    Last edited by montroseite; 10-15-2010 at 09:36 AM.

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