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
Adiabatic
Nov 18, 2007

What have you assholes done now?
Unfortunately I see the megathread has gone to archives.

As the new intern at an italian brake designer, and the second youngest employee at the particular facility, I have of course been drafted as the go-to guy for making poo poo in VBA in Excel since people automatically assume "I know about the computers". I've been able to handle all requests up until now with searching google and copy/pasting, then loving around till it somehow magically works. Until, of course, this morning.

I've been asked to, in the middle of a macro, pull up an AutoCAD drawing. I can handle the rest of the coding (I don't know if you could really call changing random poo poo and praying it works "coding", but whatever) by going back to previous projects... I just need to know how to open the draft using VBA code.

Thanks guys.

Adbot
ADBOT LOVES YOU

Adiabatic
Nov 18, 2007

What have you assholes done now?

G-Dub posted:

Do you work for Brembo?

Sure do, theres a plant and an R&D facility out in BFE Michigan.

Also thanks for the input guys, I'll let you know if I can bastardize it enough with my horrible excuse for code to get a halfway decent program running.

EDIT: Yeah trying to embed it in an Excel macro. The first link looked promising but of course Excel doesn't understand the "AutoCAD.AcadDocument". I honestly haven't a clue how to begin to handle the second post there, but I'll research the commands and see what I can come up with.

Adiabatic fucked around with this message at 13:07 on May 8, 2009

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