Hello. I am exporting a column to an excel spreadsheet. This column is for currency and if it is null, I want it to export at N/A, otherwise I want the value formatted as style 5. I have the following in my code:
This works fine to handle the case where there is a value, but I can't figure out how to tell it if it's null, write out N/A. I thought about using a custom style similar to those that have the text colored red for negative values, but couldn't seem to get that working.
Thanks, that worked. I was hoping to avoid looping through all the rows, though. In future releases, will there be a way to do that check as the data is being written out? Like have the ImportDataColumn return something and they can be checked and overwritten.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.