Note: You must be registered in order to post a reply.To register, click here. Registration is FREE!
quote:Originally posted by cpyangquote:Got it!Does destroy methods works with all data types of pages, including work and matrix books?Can I use destroy to delete sheets?---AndreyThanks!Yes, destroy is for page and layer(sheet) level.CP
quote:Got it!Does destroy methods works with all data types of pages, including work and matrix books?Can I use destroy to delete sheets?---Andrey
quote:Originally posted by cpyangquote:Originally posted by AKazakThank you.How do I delete a page?---AndreyGood question, as this was added only recently, so in the latest version of originpro, it is import originpro as op wb = op.find_book() wb.destroy() CP
quote:Originally posted by AKazakThank you.How do I delete a page?---Andrey
import originpro as op wb = op.find_book() wb.destroy()
quote:Originally posted by YimingChenYou can loop through workbooks('w') matrixbooks('m') or graphs('g') using code below: for wb in op.pages('w'): print(wb.name) Currently it doesn't support notes.James
for wb in op.pages('w'): print(wb.name)