要在Excel中导出数据并构建计划。 [英] To export data in excel and construct a schedule.

查看:68
本文介绍了要在Excel中导出数据并构建计划。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在使用.Net语言C#。

我在excel中导出数据并希望根据这些数据是自动的



我该怎么办?甚至可能吗?

Hi,

I am using .Net language C#.
I export data in excel and wish to construct a schedule based on these data automatically.

How can i do it? Is it even possible?

推荐答案

你可以使用带有计时器的Windows服务来实现。或者您可以编写应用程序并使用Windows调度程序安排它。



要将数据导出到Excel,您可以使用:

1. OleDbConnection和SQL表一样查询文件。

2.使用Interop。

3.在File类中使用静态方法。
You can do it using windows service with a timer. Or you can write an application and schedule it using windows scheduler.

To export data to excel, you can use:
1. OleDbConnection and query file just like SQL tables.
2. Use Interop.
3. Use static methods in the File class.


你有一个例子。

可以在excel中使用宏吗?如何使用宏?

感谢您的回答。
You have an example.
Can use macros in excel?. How to use macros?
Thanks for the answer.


您好,

是的,您可以使用宏,你可以基本上根据你的需要和使用范围写,可以对你的数据进行分析。

就像你提到的有关使用内置函数(如今天和现在)的日程安排一样,它将照顾到基于你的时间限制可以操纵和发布维护的时间表。

做出回复!!!!!



问候

RavR11
Hi ,
Yes u can do using a macro , which u can basically write according to your need and scope of use , Analysis can be done on your data .
Like u mentioned in question about schedule using in-bulit functions (like Today and now ) which will take care of time constraint based upon u can manipulate and publish the maintained schedule .
Do Reply !!!!!

Regards
RavR11


这篇关于要在Excel中导出数据并构建计划。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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