Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with Data Validation

Hello All:

I'm creating a workbook and populating automatically with records
pulled from a database. I have two columns that need drop down list
validation. The first is working fine, but the second is derived from
the selection of the first with the following entry in the validation
property

string strValidation = string.Format("=INDIRECT($C${0})", idx);
Excel.Range subcatCell = oSheet.get_Range(strCellAddr, strCellAddr);
subcatCell.Validation.Add(XlDVType.xlValidateList,
XlDVAlertStyle.xlValidAlertStop, Missing.Value, strValidation,
Missing.Value);

Can anyone tell me if there is a limitation that precludes using a
derived range name?

-Bob

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 problem Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 9 October 8th 07 08:14 PM
Data Validation Problem Mark S Excel Worksheet Functions 0 January 19th 07 08:21 PM
Problem with Data Validation Joseph Bowen Excel Discussion (Misc queries) 0 October 11th 06 02:53 PM
Data validation problem Peter1999 Excel Discussion (Misc queries) 3 May 22nd 06 09:18 AM
Data validation problem Jamuck Excel Discussion (Misc queries) 4 January 26th 06 04:03 PM


All times are GMT +1. The time now is 07:58 AM.

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

About Us

"It's about Microsoft Excel"