I'm working on creating a macro that will manipulate some data in Excel and create a report for me. The problem is that some of the provided data comes stored as text.
I'm pretty new at VB so my trick so far has been to recorded the desired action as a macro and then copy-paste that subroutine into my code. However, this doesn't seem to work in this case. What I normally do is to select the cells and then click the !
pop-up error menu that appears and select "Convert to Number".
What is the VB code that I need to convert selected cells from text to numbers?