Hi Kurt:
I see that Management stupidity is not only here ;-)
I think that you are trying to solve from the "Data" side something that belong to the "Interface". In other words, the only thing they want is to "not see" a zero, right?
So what if you format the cells in a way that the mask applied does not show the value when it is zero?
I see 2 options:
1) Use a "Conditional Format" to make the foreground white when the value is zero
2) If you search on the Office help for "hide zero" (I have the Spanish version), you can found a setting applied for a specific worksheet on which zero values can be hidden.
I try to traduce the instructions I've found:
- Click the rounded "Office" menu at top-left - Select "Excel Options" at the bottom - Select "Advanced" - Look for "Options for this sheet" at the middle of the scrolling - Uncheck "Show zero in cells that have a value of zero"
Best Regards.-
2016-06-14 22:02 GMT+02:00 Kurt Wendt Kurt_Wendt@globetax.com:
I know - it's a Crazy request. Trying to figure out the Easiest way to try and do this - and hoping to Avoid having to do more complicated solutions like Office Automation to manipulate an Excel file.
So - here's the deal. This system I work on - it outputs this Excel file. And, in the past - if there are certain records that have a Zero in a particular column - they would Manually wipe out the Zero - and also blank out several of the other fields in that Row.
But, the new request is to make those things happen automatically during process when the Excel file gets exported. So that they do NOT have to manually blank out certain fields. But, of course, therein lies the problem. For the other rows of data - this particular field is supposed to be a numeric value. And, AFAIK - there really is NO Way to have a DBF or Cursor that has a Numeric field - and yet have blank values in it.
As such, I suspect the answer is that this can't be done - to have a numeric data field hold any kind of blank data. They even suggested just a Dash. But, again - I figured it's not possible. However, I figured for the hell of it - I would post here - in case someone had an interesting insight that I hadn't thought of...
Kurt Wendt Senior Systems Analyst [GlobeTax_SecondaryLogo_TwoColor_Lo]https://www.globetax.com/ One New York Plaza - 34th Floor New York, NY 10004-1936, USA Tel. +1-212-747-9100 Direct +1-212-405-8246 www.GlobeTax.comhttps://www.globetax.com/
GlobeTax does not provide or offer, and this is not, tax, investment or legal advice. This email and any attachments hereto is intended only for use by the addressee(s) and may contain confidential information. If you are not the intended recipient of this email, please immediately notify the sender at +1-212-747-9100 and permanently delete the original and any copies of this email.
--- StripMime Report -- processed MIME parts --- multipart/related multipart/alternative text/plain (text body -- kept) text/html image/png
[excessive quoting removed by server]