School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,109 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,048 people online right now. Registration is fast and FREE... Join Now!




How to make program to edit XLS files?

 

How to make program to edit XLS files?, Need a program to do auto-editing of XLS, given input files

cdietschrun

17 Aug, 2009 - 07:07 AM
Post #1

New D.I.C Head
*

Joined: 23 Jun, 2009
Posts: 24

At work a coworker has the need to automate some of his work. He has XLS files that have lots of blank columns and un-alphabetized entries in columns and he wants a version of that XLS that has been edited and adjusted and also has the ability to get appended to auotmatically later.

What way could I go about thinking how to design something to do this? What language to start in? I know there are programs out there that do this, but all I found are ones that charge and also he wouldn't be able to get the company to pay for a program to do this for him.

Any ideas/designs?

User is offlineProfile CardPM
+Quote Post


vbr

RE: How To Make Program To Edit XLS Files?

30 Aug, 2009 - 01:29 PM
Post #2

New D.I.C Head
*

Joined: 15 Mar, 2009
Posts: 6



Thanked: 1 times
My Contributions
If you are working in Microsoft Excel using the Excel Visual Basic programming language is a very good choice. sounds as if you need to look at the process of how the data is being entered, where it originates from etc. You may want to start by defining a stardard template format with set columns for the data. You may want to have an input form to help people enter the data and validate it. You can also set up worksheet validation to inforce the correct data entry for certian columns.

Some things to think about?
What people use the data.
What people enter the data.
Where are the files located.
How do they access the file. From a network folder or does everyone have a copy on their C:/ drive.


QUOTE(cdietschrun @ 17 Aug, 2009 - 07:07 AM) *

At work a coworker has the need to automate some of his work. He has XLS files that have lots of blank columns and un-alphabetized entries in columns and he wants a version of that XLS that has been edited and adjusted and also has the ability to get appended to auotmatically later.

What way could I go about thinking how to design something to do this? What language to start in? I know there are programs out there that do this, but all I found are ones that charge and also he wouldn't be able to get the company to pay for a program to do this for him.

Any ideas/designs?


User is offlineProfile CardPM
+Quote Post

feldoh

RE: How To Make Program To Edit XLS Files?

14 Sep, 2009 - 01:43 PM
Post #3

New D.I.C Head
*

Joined: 12 Sep, 2009
Posts: 8



Thanked: 1 times
My Contributions
I totally agree with vbr. VBA (Visual basic for applications) (Inside excel) is definitely the easiest way of doing things. Its not much harder to make a separate VB6 program to edit and update a .xls file. I have done quite a few programs like this and always either as macros in VBA inside EXCEL or in VB6 Outside it. Try recording a macro inside excel that does most of what you need then opening it and adding the rest. You can learn VBA very quickly by doing simple tasks in excel like changing a cell in a macro then looking at the macro's code.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 12:46PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month