For the life of me, I can't figure out a way to do this.
But, for example, I have a bunch of cells that look like this:
New Jersey Investment Total Value: $873,903,301.03Total Employees: 3801
New Hampshire Investment Total Value: $40,781,203.16Total Employees: 183
etc.
So each state has its own cell. I need to come up with a macro that will extract the numeric digits (including the decimal) only. For example, the long variable, StateValue should equal 873803301.03 for New Jersey.
Any help or advice will be very much appreciated
But, for example, I have a bunch of cells that look like this:
New Jersey Investment Total Value: $873,903,301.03Total Employees: 3801
New Hampshire Investment Total Value: $40,781,203.16Total Employees: 183
etc.
So each state has its own cell. I need to come up with a macro that will extract the numeric digits (including the decimal) only. For example, the long variable, StateValue should equal 873803301.03 for New Jersey.
Any help or advice will be very much appreciated