This is a very simple script! Although this goes against my inherent nature, sometimes I'm forced to take data from JMP and put it into Excel. I recently had to do this where I needed to parse out data from an original JMP datatable and save into one Excel file where each worksheet is saved with the title of the level of that factor.
In this example, I create a data tble of 500 rows with 5 levels of Dev ID ( A thru E). I'd like to get to one Excel file called 'Sample' where there are 5 worksheets titled A, B, C, D & E.