Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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


--
dlh
------------------------------------------------------------------------
dlh's Profile: http://www.excelforum.com/member.php...o&userid=26113
View this thread: http://www.excelforum.com/showthread...hreadid=394420

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default 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" wrote in message
...

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data validation on data validation function Peter Excel Discussion (Misc queries) 1 September 22nd 09 10:56 PM
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
What function to use? Data Validation or IF Allie B Setting up and Configuration of Excel 1 June 25th 08 08:10 AM
Data Validation Function Help John Jost Excel Worksheet Functions 3 December 22nd 05 03:25 PM
Web Services function call and data refreshing Jonathan Stone Excel Worksheet Functions 0 June 1st 05 02:43 AM


All times are GMT +1. The time now is 02:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"