Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > How to add data validation Using javascript ActivexObject

Thread Tools

How to add data validation Using javascript ActivexObject

hukoh hukoh is offline
Junior Member
Join Date: Jun 2012
Posts: 1
I can't add data validation to excel using javascript
But i have Example C# code and library
Example Syntag

private void SetValidation()
Microsoft.Office.Tools.Excel.NamedRange namedRange1 =
this.Controls.AddNamedRange(this.Range["A1", missing],

Excel.XlFormatConditionOperator.xlGreater, 3, missing);

namedRange1.Validation.InputMessage = "Enter a name.";
namedRange1.Validation.ErrorMessage =
"Please enter a name with 3 or more characters.";
Reply With Quote

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
javascript, new ActiveXObject() and events =?Utf-8?B?RXVnZW5l?= ASP .Net 3 08-15-2007 01:50 PM
JavaScript ActiveXObject error forum7 Javascript 5 10-29-2004 02:38 AM
ListBox, ActiveXObject =?Utf-8?B?T3Jlbg==?= ASP .Net 1 04-08-2004 09:45 AM
ActiveXObject Oren ASP .Net 1 11-24-2003 07:50 PM