Hi all,
I was wondering if anyone had good solutions for exporting a dataset to an (already existing) Excel worksheet while retaining the existing cell formatting in that worksheet (similar to the behavior of -putexcel-). Normally I would just convert the dataset to a matrix using -mkmat-, and then use -putexcel- to export that matrix, but in this case, I want to export a dataset that has a mix of string and numeric variables, which -mkmat- does not allow. -export excel- is perfect for what I'd like to do, as it can write a dataset to a specific cell range in an existing spreadsheet, but it overwrites any formatting (italics, number formatting, borders, etc.) in the cell range it is writing to.
Any ideas? My apologies if I'm missing an obvious solution; for some reason, I cannot seem to figure this out (and didn't see any solutions in the archives, though I'm sure others have had similar problems).
Thanks so much,
Isaac
I was wondering if anyone had good solutions for exporting a dataset to an (already existing) Excel worksheet while retaining the existing cell formatting in that worksheet (similar to the behavior of -putexcel-). Normally I would just convert the dataset to a matrix using -mkmat-, and then use -putexcel- to export that matrix, but in this case, I want to export a dataset that has a mix of string and numeric variables, which -mkmat- does not allow. -export excel- is perfect for what I'd like to do, as it can write a dataset to a specific cell range in an existing spreadsheet, but it overwrites any formatting (italics, number formatting, borders, etc.) in the cell range it is writing to.
Any ideas? My apologies if I'm missing an obvious solution; for some reason, I cannot seem to figure this out (and didn't see any solutions in the archives, though I'm sure others have had similar problems).
Thanks so much,
Isaac
Comment