Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Seo Services company Manchester

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 08-09-2005, 07:34 PM
dlh dlh is offline
Forum Contributor
 
Join Date: 09 Aug 2005
MS Office Version:2003 & 2007
Posts: 103
dlh has been very helpful
call a VBA function for data validation?

Please Register to Remove these Ads

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
Reply With Quote
  #2  
Old 08-09-2005, 09:05 PM
Norman Jones
Guest
 
Posts: n/a
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
>



Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump