LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default Test for existance of data validation

Thanks. I was trying to use "Is Nothing".

Thanks,
Pflugs

"Bob Phillips" wrote:

Dim dv

On Error Resume Next
dv = ActiveCell.Validation.Type
On Error GoTo 0
If Not IsEmpty(dv) Then
MsgBox "validation"
End If


--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Pflugs" wrote in message
...
Could someone provide syntax to test for data validation within a cell? I
can't seem to get it to work.

Thanks,
Pflugs




 
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
VB syntax to test for data validation in a cell Dave O Excel Discussion (Misc queries) 2 July 26th 07 09:29 PM
Test in Validation Box Very Small Font Size... cdavidson Excel Discussion (Misc queries) 1 May 18th 07 08:51 PM
Test if cell.validation is set Filips Benoit Excel Programming 2 July 8th 06 10:54 AM
Test for for sheets existance Francis Brown Excel Programming 1 October 16th 05 08:53 PM
VBA test for the existance of a worksheet. Tom Peacock Excel Programming 4 October 4th 05 03:32 PM


All times are GMT +1. The time now is 10:38 AM.

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"