请教各位:
不知Function AddMenuItem(Index, Label As String, Macro As String)函数的index参数有何用途?
例如:
Set menuitemobject = submenuobject1.AddMenuItem(menuobject.Count + 1, "ordinate", "-vbarun thisdrawing.aordinatedimension" & vbCr)
我将menuobject.count+1 改为任意整数,oridante仍能加到子菜单中去,不知有何区别? |