With...End With
With object
- [statements]
- [statements]
End With
Description
With allows you to do a series of operations on an object without having to name the object each time.
Example
Rem With sample With document Print .URL Print .title Print .doctype End With
Output
File:///C:Browse.htm Test [objectDocumentType]