I'm not sure what's going on with SetDefaultColumnStyle. But I suggest you create a shared cell style with the dataformat and assign it to each existing cell in the column. I'm thinking maybe SetDefaultColumnStyle is only for creating new cell while you are in Excel UI.
↧