ピーター、あなたの有能な指導は私が成功するのを助けました(Siddharth Routからも助けを得ました!):)ありがとう!私のコードの下を見つけてください-
Private Sub CommandButton1_Click()
'Define the variables
Dim vRangeDefined, vRowCount, vRowIndex, vColIndex, vCounter, vCellValue As String, vNameValue As String
'Define the range where the values are entered
vRangeDefined = ActiveSheet.Range("A:B").Value
vRowCount = ActiveSheet.UsedRange.Rows.Count
For vCounter = 2 To vRowCount
vCellValue = vRangeDefined(vCounter, 1)
vNameValue = vRangeDefined(vCounter, 2)
'Divide the Cell Value in two parts
vRowIndex = Left(vCellValue, 1)
vColIndex = Right(vCellValue, Len(vCellValue) - 1)
'MsgBox vRowIndex & "-" & vColIndex
'Assign the names to cells as per the range
ActiveWorkbook.Names.Add _
Name:=vNameValue, _
RefersTo:="='Sheet1'!$" & vRowIndex & "$" & vColIndex
Next
MsgBox "Process complete..."
End Sub