我有以下任务:
“创建一个名为WherePutMe的子例程,该例程向用户询问行号和列字母,然后将所选内容的2,2位置放入该单元格中。
到目前为止,我做到了
Dim x as integer, y as string
x= Inputbox ("Enter a row number")
y= Inputbox ("Enter a column letter)
z= selection.range("B2")
End Sub```
There is still something missing..how can I link the inputbox inputs with z?
您遇到的问题是您将z
定义为某种东西,但没有使用它。