![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
Join Date: Jul 2004
Location: Location
Posts: 138
Rep Power: 5
![]() |
Need help selecting language for project
Hi everyone,
Here at my company, many people track their parts inventory lists via microsoft excel spreadsheets. Sometimes when one person sells some machinery, they will send their updated copy of the spreadsheet to another person, who must read the sheet and append changes to their spreadsheet. What I would like to do is write a program to take the two spreadsheets, study the differences, and then merge the two as one new file. The program will need to be smart enough to that new products and put them in to the new spreadsheet. I want to know which programming/scripting language would allow me to perform this task easily. I am particularly looking for these criteria: 1: All our work computers run on either Windows 2000 or Windows XP. I will need something that will work out of the box on these machines. (No need to install additional things) 2: It must be an easy language to develop in, and to see results fast. I'm leaning to C# right now, because it is easy to build a GUI quickly. Any other sugestions or ideas on how I would build the program, and what language to use? Thanks |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
The macro language for Office is VBA.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 | |
|
Hobbyist Programmer
Join Date: Jul 2004
Location: Location
Posts: 138
Rep Power: 5
![]() |
Quote:
![]() |
|
|
|
|
|
|
#4 |
|
Expert Programmer
|
If you are actually going to develop a program, I would ditch the excel spreadsheets and move to a database, but your looking at a lot more work. C# would also probably be a good choice for creating the program. As Dawei said, VBA and macros will do the job. Don't know a whole lot about em', but it would definetly be faster in development. Easier too.
|
|
|
|
|
|
#5 |
|
Man Bear Pig Hunter
Join Date: Jul 2005
Location: NorCal, USA
Posts: 290
Rep Power: 4
![]() |
DaWei is pretty wise bulio, I'd maybe ask him with some more info and see what he suggest, he always seemed to be very helpful and more knowledge than most people I've ever known to speak of code... so that would be my advice.
__________________
People who click "images" that end with .exe shouldn't have computers. |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Mar 2006
Location: Olympia WA USA
Posts: 11
Rep Power: 0
![]() |
My vote in the situation described would also be VBA. I've implemented several 'automated' applications in it recently and it's really pretty easy. Lots of good books available with clear examples.
Tom
__________________
My mind is like a steel whatchamacallit ... |
|
|
|
|
|
#7 |
|
Newbie
Join Date: Oct 2006
Posts: 20
Rep Power: 0
![]() |
Here is a link to a tutorial I found on VBA. It might be helpful: http://www.functionx.com/excel/
|
|
|
|
|
|
#8 |
|
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 314
Rep Power: 4
![]() |
VBA can be pretty horrible to use - but it would be the shortest distance from what you've got to (something like) what you want. If you want a good solution that will work well and last a long time, I'd say go with the option of using a database. That way everyone can share a central data repository instead of passing around independently edited documents and trying to merge changes, which is notoriously difficult to do well at the best of times. Although this does fall foul of your requirement not to add any additional software, the software you add could easily all be free (I'm thinking Apache and MySQL; these will run on your Win32 boxes very happily and you wouldn't need any more than a spare desktop PC to run the server really). You could even just use MSDE - I suspect I'm right in thinking to 2Gb database size restriction wouldn't cause a problem any time soon
The advantages of moving to a central database are incalculable. It is a bit more work, but maintenance of busy Excel spreadsheets is like water torture so it would pay off in the long run.
__________________
"I'm not a genius. Why do I have to suffer?" |
|
|
|
|
|
#9 |
|
Man Bear Pig Hunter
Join Date: Jul 2005
Location: NorCal, USA
Posts: 290
Rep Power: 4
![]() |
Start Date: 08-25-2006, 10:35 AM
Mackenga's Response Date: 06-08-2007, 12:40 PM Come on now Mack, do you think that after all this time he is still waiting? Sorry, just pointing this out cause I thought there was something here and your post made me re-read this entire thread.
__________________
People who click "images" that end with .exe shouldn't have computers. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| If you had it to do all over again, which language? | peace_of_mind | Coder's Corner Lounge | 24 | Jan 13th, 2008 5:06 PM |
| Language creation/extending | gryfang | Project Ideas | 43 | Jul 20th, 2006 1:42 PM |
| Language display in program | Prm753 | C++ | 3 | May 30th, 2006 5:45 PM |
| More languages? | UnKnown X | Coder's Corner Lounge | 27 | Dec 18th, 2005 3:06 PM |