如何使用interop C#更改excel中的视图类型 [英] How to change view type in excel using interop C#

查看:52
本文介绍了如何使用interop C#更改excel中的视图类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



我正在c#中创建一个自动化MsOffice Excel的Windows应用程序。



我想以编程方式更改excel工作表的视图类型。



点击此处了解更多详情



我的尝试:



任何人都可以帮助我。



提前致谢

Dear All,

I'm creating a windows application in c# where automating MsOffice Excel.

I want to change the view type of excel worksheet, programmatically.

Click here for more details

What I have tried:

can any one please help me.

Thanks in advance

推荐答案

你可以像理查德所说的那样记录一个宏,做你想做的事情,然后查看代码。然后你可以很容易地将它翻译成C#。
You can record a macro, as Richard mentioned, doing what it is you want and then look at the code. You can then translate it into C# pretty easily generally speaking.


这篇关于如何使用interop C#更改excel中的视图类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆