需要Excel帮助! [英] Excel help needed!

查看:85
本文介绍了需要Excel帮助!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为我的问题的简单性表示歉意,但实际上我只是在学习.我想要一个简单的应用程序,该应用程序在打开时只有两个输入选项,这些输入选项将引用基本的excel文件.
该计划的基本原理是,当一群管理人员去度假时,他们的5-10人团队需要由其他管理人员覆盖.
输入1.
日期范围:您需要其他管理者覆盖的日期

输入2:
您的团队中有多少人

参考资料:一张excel表格,其中经理在任何给定日期进行PTO/培训.

EXCEL
鲍勃·史密斯(Bob Smith)2010年12月17日-2010年12月22日
艾米·马克(Amy Marks)2010年12月10日-2010年12月23日
........


所以您要输入一个日期范围
该程序将搜索excel,该excel列出25个经理休假日并选择所需的人数. 7,8 9或15需要多少.它需要记住它的停止位置,以便下次有人运行它时可以循环返回.有140名团队成员和25名经理,因此有可能让3或4名经理运行该程序以获取经理列表,并且该程序将循环循环两次以提供相同的名称.


有什么想法吗?

I apologize for the simplicity of my question but I am really just learning. I want a simple application that when opened only has two input options that will reference a basic excel file.
The rationale for the program is when groups of managers go on vacation their 5-10 person teams need to be covered by other managers.
input 1.
Date range: dates you need to be covered by other managers

Input 2:
How many people are on your team

References: one excel sheet of which managers are on PTO/training at any given date.

EXCEL
Bob smith 12/17/2010 - 12/22/2010
Amy Marks 12/10/2010 - 12/23/2010
... ..... ..


So you would put in a date range
the program would search through the excel which lists 25 managers vacation days and pick out the number needed. 7,8 9 or 15 how ever many is needed. It would need to remember where it left off so it can cycle back through the next time someone runs it. There are 140 team members and 25 managers so its possible that 3 or 4 managers will run the program getting a list of managers and it will cycle back around giving the same names a couple times.


Any thoughts?

推荐答案

为什么不使用通过MDAC进行普通SQL的操作呢?

使用MDAC和Oledb使用MS Excel(xls/xlsx) [
Why don''t you use normal SQL using MDAC to do this ?

Working with MS Excel(xls / xlsx) Using MDAC and Oledb[^]
:)


有很多方法可以从SQL Server代码,LINQ,ADO .NET,代码项目上发布的各种Office程序,COM,C ++/CLI,Excel C#Automation,Excel COM/OLE2自动化,Excel C API,...
Many ways to do this from SQL Server code, LINQ, ADO .NET, various Office programs posted on code project, COM, C++/CLI, Excel C# Automation, Excel COM/OLE2 Automation, Excel C API, ...


这篇关于需要Excel帮助!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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