Dim Val As Integer = 1If InputValue(Val, "打印份数", "请输入要打印的份数:") Then
for i as Integer = 1 to Val
'打印代码
nextEnd If