in below vba code , i would like to replace all "B" in this code by range selecting or entering from application input box , kindly advise ,
Sub ahmed_code()
Dim lr As Long, r As Long, x As Long
Application.ScreenUpdating = False
lr = Range("B" & Rows.Count).End(xlUp).Row
For r =...