need Macro

  • Thread starter Thread starter ranchbroker
  • Start date Start date
R

ranchbroker

I need to convert the following formulas in a single column from a label to
the sum of the numbers in the cell.
The column is 10,000 lines long...

99.00+1
99.38+110
99.35+73
99.28+120.48
99.15+1
99.11+127.6+1
99.00++1
984+491+1
98+60
98+57.316+10
98+2
 
Select the cells you want to convert and run:

Sub expression_to_number()
For Each r In Selection
r.Value = Evaluate(r.Value)
Next
End Sub
 
I can not thank you enough.... do you do work on the side.... I need someone
to create a user friendly interface where by we can sort, print the sort, do
some math (very simple) etc...

Joe
 
Sadly I know every little about user interfaces, only Inputboxes and
Msgboxes.

I suggest you get started yourself. After all, you can always come here if
you get stuck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top