使用C#代码以编程方式在Excel中创建下拉列表 [英] Create a drop down list in excel using C# code programmatically
本文介绍了使用C#代码以编程方式在Excel中创建下拉列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
1>使用c#代码以编程方式在Excel中创建一个下拉列表。
2>在excel表格中生成动态标题,
但excel工作表发行
1>不要在excel中动态添加下拉
2> dynaimcally下载excel表但上传时间
创建d问题(外部表格不是预期的格式。)
谢谢..
我尝试过:
在excel中创建一个下拉列表c#代码编程
解决方案
要创建excel下拉列表,可以使用数据验证,查看此主题:
在C#中将数据验证应用于Excel单元 [ ^ ]
1>create a drop down list in excel using c# code programmatically.
2>generate the dynamic header in excel sheet,
but excel sheet issue
1> not add drop down dynamically in excel
2> download excel sheet dynaimcally but uploading time
create d issue (External table is not in the expected format.)
thanks..
What I have tried:
create a drop down list in excel using c# code programmatically
解决方案
To create an excel dropdown list, you can use data validation, check this thread:
Apply Data Validation to Excel Cells in C#[^]
这篇关于使用C#代码以编程方式在Excel中创建下拉列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文