English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how to use 'with' and what does it do

2006-09-20 03:02:11 · 1 answers · asked by Rami 5 in Computers & Internet Programming & Design

1 answers

The "with" keyword is a writting help. For example imagine that you have an onject name MyObject and it contains some variables, method or etc you can call them by with keyword llike this:

With MyObject
     .Var1 = q
p = .Var2
End With

In fact when you type "With" keyboard before an object name, you can access the objects content by typing a dot ".". This would be useful when you are assigning values to many members of an object and this could let you use words less.

2006-09-20 03:13:15 · answer #1 · answered by Babax 3 · 0 0

fedest.com, questions and answers