View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default How to get data validation list

Try:

ActiveCell.Validation.Formula1

In article ,
"Ting" wrote:

Hi,

How can I get a cell's validation list in VBA code?

I know the list can be input manually or programatically
using "Validation.Add", but how to retrieve it in code?
I want to know the valid input range of some cells in an Excel file.

Thanks in advance.

Ting