Hi,
I have a process that ends with a set of numbers being copied from the screen of one application and pasted into Excel. All works fine; the only 'not so nice' is that negative values appear in the other app as the number followed by a negative sign, eg 5-. When pasted into Excel, these are interpreted as text and therefore not formatted correctly.
I'd like to have some way to automatically make these get displayed as proper negative numbers but I can't think of a simple way to do it. I can iterate through the range and wherever I find a 'number' like this, take off the '-' at the end and put one on the beginning of the number - then it would become a number and would display appropriately...but I keep thinking there must be an easier way to do it??
Thanks
I have a process that ends with a set of numbers being copied from the screen of one application and pasted into Excel. All works fine; the only 'not so nice' is that negative values appear in the other app as the number followed by a negative sign, eg 5-. When pasted into Excel, these are interpreted as text and therefore not formatted correctly.
I'd like to have some way to automatically make these get displayed as proper negative numbers but I can't think of a simple way to do it. I can iterate through the range and wherever I find a 'number' like this, take off the '-' at the end and put one on the beginning of the number - then it would become a number and would display appropriately...but I keep thinking there must be an easier way to do it??
Thanks