Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Feb 9, 2009
Messages
104
Location
GB
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

 
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

Back
Top