Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
tef
May 30, 2004

-> some l-system crap ->
If you can run an external command, you can often get away with running "start filename.ext" to get the shell to open it.

i.e. Call Shell("start " & filename) (untested, I don't have access to windows machines)

Although for future reference, there are alternatives if you need a little more freedom:

Resolver One is a spreadsheet that uses python on .net internally:
http://en.wikipedia.org/wiki/Resolver_One

And if you're that way inclined, there are always libraries to interact with excel in other programming languages, even Haskell has one:

http://alfa.di.uminho.pt/~jacome/HaExcel.html

Adbot
ADBOT LOVES YOU

tef
May 30, 2004

-> some l-system crap ->
If it's possible to create elegant works of art out of poop, then I'm sure you can make better code in vba.

Learning the document model helps a lot -

I have read VB&VBA in a nutshell, which is pretty useful and flawed at the same time. A good reference when you know what to look for.

And I also have a copy of 'writing word macros'. I can't recall it being that useful.


In the end cargo culting VBA code together works pretty well for the trivial tasks it can cope with

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply