Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须在输入框中显示一条包含迭代次数的消息。请帮忙。
例如:我需要输入框将消息显示为“请输入名称:1”进行第一次迭代,然后“请输入名称:2”进行第二次迭代,依此类推,具体取决于迭代次数。
感谢早日回复..谢谢,Learner_VBA
这可以使用以下方法完成:
For i = start to limit Input = InputBox("Please input name:" & i) 'Rest of code here ' ' ' next i
只是好奇,但你在看多少次迭代?