PointCloud.us - A PolyWorks Support Forum

PolyWorks Discussion => Macro World => Topic started by: Jeff on May 04, 2011, 05:34:56 AM

Title: FILE EXPORT_REPORT EXCEL_ONE_PAGE ( , , ) question?
Post by: Jeff on May 04, 2011, 05:34:56 AM
When you do a FILE EXPORT_REPORT EXCEL_ONE_PAGE ( , , ) it opens a new work book and numbers it sequentially according to how many work books you have open.  The first time it runs it creates book1. Is there a way to keep book1 open and then open a different IMinspect project run the FILE EXPORT_REPORT EXCEL_ONE_PAGE ( , , ) again and have it add a new tab to book1? Also is there a way to name the tabs when it creates them?

Thanks for the help!
Jeff
Title: Re: FILE EXPORT_REPORT EXCEL_ONE_PAGE ( , , ) question?
Post by: jason25 on April 19, 2013, 05:13:44 PM
did you ever get this figured out?  kind of bored and writing a new macro (outside of the regular work type) sounds like fun.  Don't remember off had if the command specifies the tab to which you could write to.  Thinking if so, I could append lines in a text file to get a count for which tab to export to.  Example...if there are no lines in the text file, export to tab 1.  If there are 5 lines, export to tab 6.  Of course, this is entirely dependant on the command.  Just a thought...