I have a field in a query that contains numbers and text (text field):
I need to export this query to Excel in a number format, so I can easily manipulate the data later.
If I put null instead of "n/m" it works nicely because it remains the number format, but I need to automatize my application, so I need to have "n/m" in these fields.
I know it can be done with Excel Automation, but it's rather complicated, is there any other way?
Code:
C/R: IIf([Revenues]<=0;"n/m";[Costs]/[Revenues])
If I put null instead of "n/m" it works nicely because it remains the number format, but I need to automatize my application, so I need to have "n/m" in these fields.
I know it can be done with Excel Automation, but it's rather complicated, is there any other way?
Comment