All I want to do is get a numeric cell value and multiply by .000001, Then put the result back in the same cell and do this for all the row values in column 0.
I tried coding something like the following using VB.NET:
Dim i_format As Integer = 3
For i_format = 3 To cells.GetLastDataRow(0)
Dim freq_cell As Cell = newWorksheet.Cells(i_format, 0)
'How do I match the correct type
Dim freq_x As Integer = freq_cell
I tried various ways to convert from a string object to a single or double using things like "cells.ConvertStringToNumericValue(freq_cell)" But everything is a type mismatch.
Can anyone point me in the right direction?