The With statement executes a series of statements on a single object.
This statement has the following form:
With object statements End With
|object||(required) Specifies a name of an object or a function that returns an object|
|statements||(required) One or more statements to be executed on object|
The following example shows the basic use of this statement:
With MyCaption .Width = 200 .Height = 200 .Title = "This is MyCaption" End With
|Supported in Version:||5.0|