+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Forum Contributor
    Join Date
    08-09-2005
    MS-Off Ver
    2003 & 2007
    Posts
    111

    call a VBA function for data validation?

    I'm trying use Excel's Data Validation with a custom validation formula, but the formula length is limited to 255 characters.

    In order to use a longer formula, I've implemented a validation function in VBA. I can call this function from a cell, but when I try using it in Excel's custom validation formula, it thinks the function is a named range.

    Is there any fix for this short of implementing validation completely on my own?

    -David

  2. #2
    Norman Jones
    Guest

    Re: call a VBA function for data validation?

    Hi DLH,

    See if the responses from Stephen Bullen and Dave Peterson in the following
    thread are of use to you:

    http://tinyurl.com/74pug


    ---
    Regards,
    Norman



    "dlh" <dlh.1tiumc_1123632319.6959@excelforum-nospam.com> wrote in message
    news:dlh.1tiumc_1123632319.6959@excelforum-nospam.com...
    >
    > I'm trying use Excel's Data Validation with a custom validation formula,
    > but the formula length is limited to 255 characters.
    >
    > In order to use a longer formula, I've implemented a validation
    > function in VBA. I can call this function from a cell, but when I try
    > using it in Excel's custom validation formula, it thinks the function
    > is a named range.
    >
    > Is there any fix for this short of implementing validation completely
    > on my own?
    >
    > -David
    >
    >
    > --
    > dlh
    > ------------------------------------------------------------------------
    > dlh's Profile:
    > http://www.excelforum.com/member.php...o&userid=26113
    > View this thread: http://www.excelforum.com/showthread...hreadid=394420
    >




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.2.0