Suggest a VB.net code to change the format of column A from text to number

Hi @Gopi_Krishna1

Provide the input bro. It will help me.

Try this code by the time:

Sub ConvertColumnsToNumbers()
    Dim columnRange As Range
    
    ' Convert entire columns A, G, and L to number format
    For Each columnRange In Range("A:A,G:G,L:L").Columns
        columnRange.NumberFormat = "General"
        columnRange.Value = columnRange.Value
    Next columnRange
End Sub

Regards