With...End With: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 31: | Line 31: | ||
[[Category:Language Reference]] | [[Category:Language Reference]] | ||
[[Category:Statements - Flow of control]] |
Revision as of 22:09, 10 September 2012
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]