Sponsored links

Go Back   MP3Car.com > General > Off Topic


Reply
 
Share Thread Tools Display Modes
Old 05-07-2009, 10:34 AM   #1
FLAC
 
Join Date: Jun 2006
Location: Calgary, Alberta
Posts: 1,074
nobb will become famous soon enoughnobb will become famous soon enough
Need to learn Excel VBA ASAP! Suggestions, tips, advice, examples...

I figure there is probably quite a few smart programmers on this forum, so I thought I would ask here.

So at my summer job, one of my duties is to create a VBA code that will read data from an Excel spreadsheet then export that to an XML document. Certain formatting such as borders and colors will have to be read then written in a certain way within the XML file. The purpose of the XML file is that the coding within the XML will be read by a proprietary program and converted into a spreadsheet that the program can recognize.

Now the problem is that I am a completely new at programming, so I basically have to learn everything from scratch. I have some basic experience making simple C++ programs, that's about it.

I'm just wondering if you guys might have some good advice, suggestions, examples, tips to help me get started with this project? Any bit would be of great help! I only have a few months left to do this...

Thanks guys.
nobb is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 05-07-2009, 12:10 PM   #2
Constant Bitrate
 
almera's Avatar
 
Join Date: Aug 2004
Posts: 176
almera is on a distinguished road
Here is an example code:
http://www.codeproject.com/KB/vbscript/xls2xml.aspx
__________________
----------------------------------------------------------------------
almera is offline   Reply With Quote
Old 05-07-2009, 01:17 PM   #3
Admin. Don't bug or I'll byte.
 
Bugbyte's Avatar
 
Join Date: Sep 2004
Location: Corning, NY
Posts: 6,143
Bugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to beholdBugbyte is a splendid one to behold
I also recommend getting a book. I still use 'Excel Programming 2002 in VBA'. The actual code examples themselves are worth the price of the book.

Go down to Barnes and Nobles or whatever the local mega store is and buy one of these. If you have time, ask the company to buy you one you pick out on Amazon. If they won't buy it, consider it an investment in your education. If you pull this off, you'll get a nice letter of recommendation from them. Definitely worth the price of the book.
__________________
Want to:
-Find out about the iBug?
-Stop being a newbie? Take a look at the FAQ Emporium?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
-Help me kill my car PC
-Watch live video streams from my mobile PC? Check it out here.
-Where is the iBug?
Bugbyte is offline   Reply With Quote
Old 05-07-2009, 11:07 PM   #4
FLAC
 
Join Date: Jun 2006
Location: Calgary, Alberta
Posts: 1,074
nobb will become famous soon enoughnobb will become famous soon enough
I do have a book, but I think the tough part is having a certain task you want to perform, but not knowing where to look for a solution/function. There's so many functions, it's mind boggling. I was just hoping maybe there would be an easy internet resource somewhere to look everything up.
nobb is offline   Reply With Quote
Old 05-08-2009, 02:26 AM   #5
Variable Bitrate
 
Join Date: Mar 2009
Location: Kristiansand, Norway
Posts: 290
Crinos is an unknown quantity at this point
Quote: Originally Posted by nobb View Post
I do have a book, but I think the tough part is having a certain task you want to perform, but not knowing where to look for a solution/function. There's so many functions, it's mind boggling. I was just hoping maybe there would be an easy internet resource somewhere to look everything up.

It is... MSDN is a good place to start, and google is allways your best friend
Or find a forum dedicated to VBA.
Crinos is offline   Reply With Quote
Old 05-12-2009, 03:35 PM   #6
Hey, you're trying for the goal by going the other way around, you're crazzzyyyy!
 
HiJackZX1's Avatar
 
Join Date: Jul 2007
Location: Miami
Posts: 4,170
HiJackZX1 is just really niceHiJackZX1 is just really niceHiJackZX1 is just really niceHiJackZX1 is just really nice
What about Video Professor?
__________________
HiJack ZX1 CFSC
CAR PC ITEMS [35%]
INSTALL OF MULTI PC SYSTEM [35%]
BUG WORKOUT [0%]
INTERIOR MODS [45%]

HiJackZX1 Work Log
HiJackZX1 Website!

Please build up my REP.
HiJackZX1 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT -5. The time now is 03:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics