I use the code below to convert cell values that are text to numbers.
Since I use this on multiple columns and each column has a different range I am trying to add a message box that will open when the macro is played and ask for the Column letter or Number.
I am not sure where to begin to do something like this.
Sub ConvertToNumbers() Application.ScreenUpdating = False For Each cell In Range("E1:E1000") If Not IsEmpty(cell.Value) Then cell.Select Cells.SpecialCells(xlCellTypeLastCell) _ .Offset(1, 1).Copy Selection.PasteSpecial Paste:=xlPasteValues, _ Operation:=xlPasteSpecialOperationAdd With Selection .VerticalAlignment = xlTop .WrapText = False End With Selection.EntireColumn.AutoFit End If Next End Sub