function p(cot as long,num as long,len as long) as string
'cot:几个数? num:哪个数? len:重复几次?
dim i as long,j as long
dim str as string,code as string
str=""
for i=1 to cot
if i=num then
code="a"
for j=1 to len
str=str & i & code & "."
code=Chr(Asc(code)+1) '小写字母自增运算
next
else
str=str & i & "."
end if
next
p=str
end function