Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX VB Journal to create EXCEL file

Status
Not open for further replies.

NXJockey

Automotive
Feb 9, 2009
104
Hi,

Does anybody have a simple it of example code of how to write to an EXCEL file from a NX visual basic journal please?

Kind regards,

NXj

 
Replies continue below

Recommended for you

Yamada (he created SNAP and wrote the documentation) wrote a good guide on working with NX and Excel:

The guide above assumes that you have an author license (and a SNAP license, for some of the example code). If you do not have an author license, you cannot add a reference to the Excel library, but you can still effectively work with Excel (it's just more difficult).

Here are a few examples of working with Excel with no license (searching may turn up more):


If you use the example code from nxjournaling, I'd suggest adding in the "cleanup" code provided by Yamada; not all of the examples include it. Also, check the NXOpen samples folder that ships with NX; there is at least 1 example that uses Excel.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor