将某个对象设置为缺省对象。除非声明其他对象名称,否则在执行到 End With 语句之前,所有属性和方法都是针对缺省对象的。
With Object Statement block End With
当一个对象具有多个属性或方法时,可以使用 With 和 end With。